wok-current rev 16597

ARM: Add python-pifacecommon python-pifacedigitalio (let play with PiFace)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 07 14:57:33 2014 +0200 (2014-05-07)
parents 8d9c3bb3a230
children 7dd1b2864868
files python-pifacecommon/receipt python-pifacedigitalio/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pifacecommon/receipt	Wed May 07 14:57:33 2014 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-pifacecommon"
     1.7 +VERSION="4.0.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Common functions for interacting with PiFace products."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.piface.org.uk"
    1.14 +WGET_URL="https://github.com/piface/pifacecommon/archive/v${VERSION}.tar.gz"
    1.15 +HOST_ARCH="arm"
    1.16 +
    1.17 +TAGS="raspberrypi rpi"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	python setup.py install --root=${DESTDIR}
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs
    1.29 +	cp -a ${install}/* ${fs}
    1.30 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/python-pifacedigitalio/receipt	Wed May 07 14:57:33 2014 +0200
     2.3 @@ -0,0 +1,28 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="python-pifacedigitalio"
     2.7 +VERSION="3.0.4"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="The PiFace Digital input/output module."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +LICENSE="GPL"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://www.piface.org.uk"
    2.14 +WGET_URL="https://github.com/piface/pifacedigitalio/archive/v${VERSION}.tar.gz"
    2.15 +HOST_ARCH="arm"
    2.16 +
    2.17 +TAGS="raspberrypi rpi"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	python setup.py install --root=${DESTDIR}
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +	mkdir -p $fs/usr/share
    2.29 +	cp -a ${install}/* ${fs}
    2.30 +	cp -a ${src}/examples $fs/usr/share/piface
    2.31 +}