wok-current annotate pi-blaster/receipt @ rev 22650

updated djview again (4.10.3 -> 4.10.6)
author Hans-G?nter Theisgen
date Tue Jan 14 13:47:35 2020 +0100 (2020-01-14)
parents
children 89c8d8b6cf48
rev   line source
pankso@16577 1 # SliTaz package receipt.
pankso@16577 2
pankso@16577 3 PACKAGE="pi-blaster"
pankso@16577 4 GITHASH="177cef81774d6df5c6284c198ff818515281db14"
pankso@16577 5 VERSION=${GITHASH:0:6}
pankso@16577 6 CATEGORY="system-tools"
pankso@16577 7 SHORT_DESC="Enables PWM on the GPIO pins you request of a Raspberry Pi."
pankso@16577 8 MAINTAINER="pankso@slitaz.org"
pankso@16577 9 LICENSE="MIT"
pankso@16577 10 TARBALL="$PACKAGE-$VERSION.zip"
pankso@16577 11 WEB_SITE="https://github.com/sarfata/pi-blaster/"
pankso@16577 12 WGET_URL="https://codeload.github.com/sarfata/pi-blaster/zip/$GITHASH"
pankso@16577 13 HOST_ARCH="arm"
pankso@16577 14
pankso@16577 15 # Rules to configure and make the package.
pankso@16577 16 compile_rules()
pankso@16577 17 {
pankso@16577 18 sed -i s"/gcc/${HOST_SYSTEM}-gcc/" Makefile &&
pankso@16577 19 make
pankso@16577 20 }
pankso@16577 21
pankso@16577 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16577 23 genpkg_rules()
pankso@16577 24 {
pankso@16577 25 mkdir -p $fs/etc $fs/usr/sbin
pankso@16577 26 cp -a ${src}/${PACKAGE} ${fs}/usr/sbin
pankso@16577 27 cp -a ${stuff}/init.d $fs/etc
pankso@16577 28 }