Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Commit

Permalink
Arduino
Browse files Browse the repository at this point in the history
  • Loading branch information
Faruk CEBECİ committed Jun 5, 2014
1 parent 051528d commit e045a5e
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 0 deletions.
19 changes: 19 additions & 0 deletions programming/environment/arduino/actions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
pass

def build():
pass

def install():
shelltools.copytree("./", "%s/usr/share/arduino" % get.installDIR())
pisitools.dosym("/usr/share/arduino/arduino", "/usr/bin/arduino")
15 changes: 15 additions & 0 deletions programming/environment/arduino/files/arduino.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Arduino
Name[tr]=Arduino
GenericName=Arduino
GenericName[tr]=Arduino
Comment=Arduino IDE
Comment[tr]=Arduino IDE
Icon=arduino
Exec=arduino
Terminal=false
StartupNotify=false
Categories=Application;Development;
Binary file added programming/environment/arduino/files/arduino.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions programming/environment/arduino/pspec.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>arduino</Name>
<Homepage>http://arduino.cc/</Homepage>
<Packager>
<Name>Faruk CEBECI</Name>
<Email>[email protected]</Email>
</Packager>
<License>GPLv3</License>
<Icon>arduino</Icon>
<IsA>app:gui</IsA>
<Summary>Arduino IDE</Summary>
<Description>Arduino IDE</Description>
<Archive sha1sum="1d199c68280449cdfabbd41c04eaf8c88ca87226" type="targz">http://arduino.googlecode.com/files/arduino-1.0.5-linux64.tgz</Archive>
<!--
<BuildDependencies>
<Dependency>Dep1-devel</Dependency>
<Dependency>Dep2-devel</Dependency>
<Dependency>Dep3-devel</Dependency>
<Dependency versionFrom="">Dep4-devel</Dependency>
</BuildDependencies>
-->
<!--
<Patches>
<Patch>arduino.patch</Patch>
<Patch level="1">arduino.patch</Patch>
</Patches>
-->
</Source>

<Package>
<Name>arduino</Name>
<!--
<RuntimeDependencies>
<Dependency>Dep1</Dependency>
<Dependency>Dep2</Dependency>
<Dependency>Dep3</Dependency>
<Dependency versionFrom="">Dep4</Dependency>
</RuntimeDependencies>
-->
<Files>
<Path fileType="all">/</Path>
<!--
<Path fileType="executable">/usr/bin</Path>
<Path fileType="config">/etc</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="doc">/usr/share/doc</Path>
-->
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/arduino.desktop">arduino.desktop</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/arduino.png">arduino.png</AdditionalFile>
</AdditionalFiles>

<!--
<Provides>
<COMAR script="package.py">System.Package</COMAR>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
-->
</Package>

<History>
<Update release="1">
<Date>2014-06-05</Date>
<Version>1.0.5</Version>
<Comment>First release</Comment>
<Name>Faruk CEBECI</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>

2 comments on commit e045a5e

@namso-01
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bu pakete çeki düzen vermen lazım, mesela build ve runtime dep'ler yok

@namso-01
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path yolları tanımlanmamış

Please sign in to comment.