wok view pi-blaster/receipt @ rev 16666
Up remmina (15/07/2013)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 14 10:57:18 2014 +0000 (2014-05-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 }