wok diff pi-blaster/receipt @ rev 17707

Up marlin: edit last patch (again)
author Yuri Pourre <yuripourre@gmail.com>
date Mon Mar 02 11:31:13 2015 -0300 (2015-03-02)
parents
children 89c8d8b6cf48
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pi-blaster/receipt	Mon Mar 02 11:31:13 2015 -0300
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pi-blaster"
     1.7 +GITHASH="177cef81774d6df5c6284c198ff818515281db14"
     1.8 +VERSION=${GITHASH:0:6}
     1.9 +CATEGORY="system-tools"
    1.10 +SHORT_DESC="Enables PWM on the GPIO pins you request of a Raspberry Pi."
    1.11 +MAINTAINER="pankso@slitaz.org"
    1.12 +LICENSE="MIT"
    1.13 +TARBALL="$PACKAGE-$VERSION.zip"
    1.14 +WEB_SITE="https://github.com/sarfata/pi-blaster/"
    1.15 +WGET_URL="https://codeload.github.com/sarfata/pi-blaster/zip/$GITHASH"
    1.16 +HOST_ARCH="arm"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	sed -i s"/gcc/${HOST_SYSTEM}-gcc/" Makefile &&
    1.22 +	make
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/etc $fs/usr/sbin
    1.29 +	cp -a ${src}/${PACKAGE} ${fs}/usr/sbin
    1.30 +	cp -a ${stuff}/init.d $fs/etc
    1.31 +}