wok-current view pi-blaster/receipt @ rev 17217

Up: file (5.20).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 14 11:50:51 2014 +0300 (2014-10-14)
parents
children 89c8d8b6cf48
line source
1 # SliTaz package receipt.
3 PACKAGE="pi-blaster"
4 GITHASH="177cef81774d6df5c6284c198ff818515281db14"
5 VERSION=${GITHASH:0:6}
6 CATEGORY="system-tools"
7 SHORT_DESC="Enables PWM on the GPIO pins you request of a Raspberry Pi."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/sarfata/pi-blaster/"
12 WGET_URL="https://codeload.github.com/sarfata/pi-blaster/zip/$GITHASH"
13 HOST_ARCH="arm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i s"/gcc/${HOST_SYSTEM}-gcc/" Makefile &&
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/etc $fs/usr/sbin
26 cp -a ${src}/${PACKAGE} ${fs}/usr/sbin
27 cp -a ${stuff}/init.d $fs/etc
28 }