wok-6.x view pi-blaster/receipt @ rev 24474
updated desktop-file-utils and desktop-file-utils-extra (0.24 -> 0.26)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 17:07:56 2022 +0100 (2022-02-17) |
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 }