wok-6.x annotate piclass-code-examples/receipt @ rev 21184
get-xnviewmp: finetuning
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 03 14:24:54 2019 +0100 (2019-04-03) |
parents | 8d9c3bb3a230 |
children | 89c8d8b6cf48 |
rev | line source |
---|---|
pankso@16596 | 1 # SliTaz package receipt. |
pankso@16596 | 2 |
pankso@16596 | 3 PACKAGE="piclass-code-examples" |
pankso@16596 | 4 GITHASH="0487029f735e1d9f9b41cf94e3572c1e3d7beec8" |
pankso@16596 | 5 VERSION=${GITHASH:0:7} |
pankso@16596 | 6 CATEGORY="development" |
pankso@16596 | 7 SHORT_DESC="PiClass Python and SHell code examples" |
pankso@16596 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16596 | 9 LICENSE="BSD" |
pankso@16596 | 10 TARBALL="$PACKAGE-$VERSION.tar.zip" |
pankso@16596 | 11 WEB_SITE="http://piclass.org" |
pankso@16596 | 12 WGET_URL="https://codeload.github.com/piclass/code-examples/zip/$GITHASH" |
pankso@16596 | 13 HOST_ARCH="arm" |
pankso@16596 | 14 |
pankso@16596 | 15 TAGS="python raspberrypi rpi" |
pascal@17483 | 16 DEPENDS="python python-smbus i2c-tools slitaz-arm-rpi" |
pankso@16596 | 17 |
pankso@16596 | 18 # Rules to configure and make the package. |
pankso@16596 | 19 compile_rules() |
pankso@16596 | 20 { |
pankso@16596 | 21 make DESTDIR=${DESTDIR} install |
pankso@16596 | 22 } |
pankso@16596 | 23 |
pankso@16596 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16596 | 25 genpkg_rules() |
pankso@16596 | 26 { |
pankso@16596 | 27 mkdir -p ${fs} |
pankso@16596 | 28 cp -a ${install}/* ${fs} |
pankso@16596 | 29 } |