wok view pi-blaster/receipt @ rev 23973

Up openconnect (8.10), openexr (2.5.3), openldap (2.4.55), openssh (8.4p1), openvswitch (2.14.0), phpmyadmin (5.0.4), rust (1.47.0), shellinabox (2.21)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 28 12:04:50 2020 +0000 (2020-10-28)
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 }