# HG changeset patch # User Christophe Lincoln # Date 1399454066 -7200 # Node ID 8d9c3bb3a23087d7d7dd7b49c102c90ff2102992 # Parent b91be441a121bd671397c0443104b5f47abe3151 Add piclass-code-examples (with 8x8 examples) diff -r b91be441a121 -r 8d9c3bb3a230 piclass-code-examples/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/piclass-code-examples/receipt Wed May 07 11:14:26 2014 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="piclass-code-examples" +GITHASH="0487029f735e1d9f9b41cf94e3572c1e3d7beec8" +VERSION=${GITHASH:0:7} +CATEGORY="development" +SHORT_DESC="PiClass Python and SHell code examples" +MAINTAINER="pankso@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.zip" +WEB_SITE="http://piclass.org" +WGET_URL="https://codeload.github.com/piclass/code-examples/zip/$GITHASH" +HOST_ARCH="arm" + +TAGS="python raspberrypi rpi" +DEPENDS="python python-smbus ic2-tools slitaz-arm-rpi" + +# Rules to configure and make the package. +compile_rules() +{ + make DESTDIR=${DESTDIR} install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p ${fs} + cp -a ${install}/* ${fs} +}