wok rev 16596

Add piclass-code-examples (with 8x8 examples)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 07 11:14:26 2014 +0200 (2014-05-07)
parents b91be441a121
children 91176bff0caf
files piclass-code-examples/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/piclass-code-examples/receipt	Wed May 07 11:14:26 2014 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="piclass-code-examples"
     1.7 +GITHASH="0487029f735e1d9f9b41cf94e3572c1e3d7beec8"
     1.8 +VERSION=${GITHASH:0:7}
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="PiClass Python and SHell code examples"
    1.11 +MAINTAINER="pankso@slitaz.org"
    1.12 +LICENSE="BSD"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.zip"
    1.14 +WEB_SITE="http://piclass.org"
    1.15 +WGET_URL="https://codeload.github.com/piclass/code-examples/zip/$GITHASH"
    1.16 +HOST_ARCH="arm"
    1.17 +
    1.18 +TAGS="python raspberrypi rpi"
    1.19 +DEPENDS="python python-smbus ic2-tools slitaz-arm-rpi"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	make DESTDIR=${DESTDIR} install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p ${fs}
    1.31 +	cp -a ${install}/* ${fs}
    1.32 +}