wok view python-pifacedigitalio/receipt @ 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
children 0f0f18c077ac
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pifacedigitalio"
4 VERSION="3.0.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="The PiFace Digital input/output module."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.piface.org.uk"
11 WGET_URL="https://github.com/piface/pifacedigitalio/archive/v${VERSION}.tar.gz"
12 HOST_ARCH="arm"
14 TAGS="raspberrypi rpi"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py install --root=${DESTDIR}
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a ${install}/* ${fs}
27 cp -a ${src}/examples $fs/usr/share/piface
28 }