diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2795602 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build* +build*/* +target +target/* diff --git a/README.md b/README.md new file mode 100644 index 0000000..5e7f7cc --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +script.module.RPi.GPIO +=============================== + +This module contains the RPi python GPIO Lib diff --git a/create_addon b/create_addon new file mode 100755 index 0000000..dc1b340 --- /dev/null +++ b/create_addon @@ -0,0 +1,33 @@ +#!/bin/sh + +. packages/meta + +echo "Building $PKG_NAME-$PKG_VERSION.$PKG_REV" + +rm -rf target/$PKG_VERSION.$PKG_REV/ + +rm -rf build +mkdir build + +cp -rf $PKG_NAME build/$PKG_NAME + +rm -f build/$PKG_NAME/*/.gitignore + +for i in $PKG_DEPENDS;do + mkpkg/mkpkg_$i + if [ "$?" = "1" ]; then + echo "Error building $1";exit 1 + fi +done + +mkdir -p target/$PKG_VERSION.$PKG_REV/ +cd build +zip -rq9 ../target/$PKG_VERSION.$PKG_REV/$PKG_NAME-$PKG_VERSION.$PKG_REV.zip $PKG_NAME +if [ "$?" = "0" ]; then + echo "$PKG_NAME/target/$PKG_NAME-$PKG_VERSION.$PKG_REV.zip" +fi +cp $PKG_NAME/changelog.txt ../target/$PKG_VERSION.$PKG_REV/changelog-$PKG_VERSION.$PKG_REV.txt +cp $PKG_NAME/addon.xml ../target/$PKG_VERSION.$PKG_REV/addon.xml +cd .. +rm -rf build +exit 0 diff --git a/packages/meta b/packages/meta new file mode 100644 index 0000000..03d3357 --- /dev/null +++ b/packages/meta @@ -0,0 +1,4 @@ +PKG_NAME="script.module.RPi.GPIO" +PKG_VERSION="0.0" +PKG_REV="1" +PKG_DEPENDS="" diff --git a/script.module.RPi.GPIO/addon.xml b/script.module.RPi.GPIO/addon.xml new file mode 100644 index 0000000..416a4ee --- /dev/null +++ b/script.module.RPi.GPIO/addon.xml @@ -0,0 +1,17 @@ + + + + + + + + + python RPi.GPIO + This module contains the RPi python GPIO Lib + linux + + diff --git a/script.module.RPi.GPIO/changelog.txt b/script.module.RPi.GPIO/changelog.txt new file mode 100644 index 0000000..2350526 --- /dev/null +++ b/script.module.RPi.GPIO/changelog.txt @@ -0,0 +1,3 @@ +0.0.1 +- initial Release +- RPi.GPIO - 0.5.11 diff --git a/script.module.RPi.GPIO/icon.png b/script.module.RPi.GPIO/icon.png new file mode 100644 index 0000000..ca4c53a Binary files /dev/null and b/script.module.RPi.GPIO/icon.png differ diff --git a/script.module.RPi.GPIO/lib/RPi/GPIO.so b/script.module.RPi.GPIO/lib/RPi/GPIO.so new file mode 100644 index 0000000..3546fd9 Binary files /dev/null and b/script.module.RPi.GPIO/lib/RPi/GPIO.so differ diff --git a/script.module.RPi.GPIO/lib/RPi/__init__.py b/script.module.RPi.GPIO/lib/RPi/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/script.module.RPi.GPIO/lib/__init__.py b/script.module.RPi.GPIO/lib/__init__.py new file mode 100644 index 0000000..e69de29