slitaz-arm rev 181

commit wok/python-piface* (it need python3...)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 08 19:03:10 2014 +0200 (2014-05-08)
parents 1ae334724750
children 1bf7d711c88d
files wok/python-pifacecommon/receipt wok/python-pifacedigitalio/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wok/python-pifacecommon/receipt	Thu May 08 19:03:10 2014 +0200
     1.3 @@ -0,0 +1,28 @@
     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 +DEPENDS="python python-smbus i2c-tools"
    1.18 +TAGS="raspberrypi rpi"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	python setup.py install --root=${DESTDIR}
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs
    1.30 +	cp -a ${install}/* ${fs}
    1.31 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/wok/python-pifacedigitalio/receipt	Thu May 08 19:03:10 2014 +0200
     2.3 @@ -0,0 +1,29 @@
     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 +DEPENDS="python python-smbus i2c-tools python-pifacecommon"
    2.18 +TAGS="raspberrypi rpi"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	python setup.py install --root=${DESTDIR}
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/share
    2.30 +	cp -a ${install}/* ${fs}
    2.31 +	cp -a ${src}/examples $fs/usr/share/piface
    2.32 +}