wok view pi-blaster/receipt @ rev 21207

Up pure-ftpd (1.0.48)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 08 19:08:56 2019 +0200 (2019-04-08)
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 }