summaryrefslogtreecommitdiffstats
path: root/package/python-rpi-gpio
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-rpi-gpio')
-rwxr-xr-xpackage/python-rpi-gpio/Config.in7
-rwxr-xr-xpackage/python-rpi-gpio/python-rpi-gpio.hash3
-rwxr-xr-xpackage/python-rpi-gpio/python-rpi-gpio.mk14
3 files changed, 24 insertions, 0 deletions
diff --git a/package/python-rpi-gpio/Config.in b/package/python-rpi-gpio/Config.in
new file mode 100755
index 0000000000..4f59ebdb06
--- /dev/null
+++ b/package/python-rpi-gpio/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_RPI_GPIO
+ bool "python-rpi-gpio"
+ depends on BR2_arm
+ help
+ A Python module to control the GPIO on a Raspberry Pi.
+
+ http://sourceforge.net/p/raspberry-gpio-python
diff --git a/package/python-rpi-gpio/python-rpi-gpio.hash b/package/python-rpi-gpio/python-rpi-gpio.hash
new file mode 100755
index 0000000000..8b498f1f13
--- /dev/null
+++ b/package/python-rpi-gpio/python-rpi-gpio.hash
@@ -0,0 +1,3 @@
+# md5sum from http://sourceforge.net/projects/raspberry-gpio-python/files/, sha256 calculated locally
+md5 254d0443a436eb241367c487274e7197 RPi.GPIO-0.6.1.tar.gz
+sha256 54e5fb06d9ea1a1389a497fb5a06dfa950c86303b0f4ba89b68c55999d1df064 RPi.GPIO-0.6.1.tar.gz
diff --git a/package/python-rpi-gpio/python-rpi-gpio.mk b/package/python-rpi-gpio/python-rpi-gpio.mk
new file mode 100755
index 0000000000..e71fdeabcd
--- /dev/null
+++ b/package/python-rpi-gpio/python-rpi-gpio.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-rpi-gpio
+#
+################################################################################
+
+PYTHON_RPI_GPIO_VERSION = 0.6.1
+PYTHON_RPI_GPIO_SOURCE = RPi.GPIO-$(PYTHON_RPI_GPIO_VERSION).tar.gz
+PYTHON_RPI_GPIO_SITE = http://sourceforge.net/projects/raspberry-gpio-python/files
+PYTHON_RPI_GPIO_LICENSE = MIT
+PYTHON_RPI_GPIO_LICENSE_FILES = LICENSE.txt
+PYTHON_RPI_GPIO_SETUP_TYPE = distutils
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud