diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-09-05 10:01:13 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-09-05 10:01:13 +0300 |
commit | fde5c4541d57191a8a182ecba61ef7a1f632cd91 (patch) | |
tree | 5478cece47389a07301f6073df4cdd2098195619 /unmaintained | |
parent | 13976180140fc9eb0bf477c225f89ed0e210b4b9 (diff) | |
download | aports-fde5c4541d57191a8a182ecba61ef7a1f632cd91.tar.bz2 aports-fde5c4541d57191a8a182ecba61ef7a1f632cd91.tar.xz |
community/wiringpi: upgrade to 2.32
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/wiringpi/APKBUILD | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/unmaintained/wiringpi/APKBUILD b/unmaintained/wiringpi/APKBUILD deleted file mode 100644 index f4a57c0471..0000000000 --- a/unmaintained/wiringpi/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Timo Teräs <timo.teras@iki.fi> -pkgname=wiringpi -pkgver=2.25 -_commitid=5edd177 -pkgrel=0 -pkgdesc="command line interface for Raspberry Pi gpio" -url="http://wiringpi.com/the-gpio-utility/" -arch="armhf" -license="LGPLv3" -depends="" -makedepends="linux-headers" -install="" -subpackages="" -source="wiringpi-$pkgver.tar.gz::https://git.drogon.net/?p=wiringPi;a=snapshot;h=$_commitid;sf=tgz - " - -_srcdir="$srcdir"/wiringPi-$_commitid - -prepare() { - local i - cd "$_srcdir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed -i -e '/sys\/ioctl/i#include <asm/ioctl.h>' wiringPi/wiringPiSPI.c -} - -build() { - cd "$_srcdir" - make -C wiringPi static CFLAGS="$CFLAGS -I." LDFLAGS="$LDFLAGS" || return 1 - make -C devLib static CFLAGS="$CFLAGS -I../wiringPi" LDFLAGS="$LDFLAGS" || return 1 - make -C gpio CFLAGS="$CFLAGS -I../wiringPi -I../devLib" LDFLAGS="$LDFLAGS -L../wiringPi -L../devLib" || return 1 -} - -package() { - cd "$_srcdir" - install -D -m755 gpio/gpio "$pkgdir"/usr/bin/gpio || return 1 -} - -md5sums="8c156806f2a7c2bf5573ef54955f0cda wiringpi-2.25.tar.gz" -sha256sums="c5f7b4807317eb74d81212337b893cb5a27981d01f6037e6be8a3a6d6e58a540 wiringpi-2.25.tar.gz" -sha512sums="6891ea57e5829772c4567502f6ed93e40e46e0263913df6dd59977016668ebc7457955e34524c1b1838e7ffd64ddf6c5e7d18c16a26b4799d6255cdb32783801 wiringpi-2.25.tar.gz" |