summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-27 08:01:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-27 18:33:24 +0100
commit9e33cd5f2959c0cc582ba2e22fd6318ef36a66b6 (patch)
treec25f39c915d9f872d936f58a9d9c0245baa43435 /package
parent866debbdbe386833491c75cf6c9e0260257f5f2b (diff)
convert to simple git download
Diffstat (limited to 'package')
-rw-r--r--package/wiringPi/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/wiringPi/Makefile b/package/wiringPi/Makefile
index 194e1bb85..addbc49d9 100644
--- a/package/wiringPi/Makefile
+++ b/package/wiringPi/Makefile
@@ -4,15 +4,12 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= wiringPi
-# actually git checkout from 05.12.2014
-# 0a9fdeb29d31609ef834f050bdb8a7a65cd35e2b
-PKG_VERSION:= 0.1
+PKG_VERSION:= 0a9fdeb29d31609ef834f050bdb8a7a65cd35e2b
PKG_RELEASE:= 1
-PKG_HASH:= 230a059d2106ba9402cb51a10167db9d7d817a4a1df3d55cd8d0ef220c0e8187
-PKG_DESCR:= GPIO access library for the BCM2835 used in the Raspberry Pi
+PKG_DESCR:= gpio access library for the raspberry pi
PKG_SECTION:= libs/misc
PKG_URL:= http://wiringpi.com/
-PKG_SITES:= http://openadk.org/distfiles
+PKG_SITES:= git://git.drogon.net/wiringPi
PKG_SYSTEM_DEPENDS:= raspberry-pi
@@ -25,6 +22,7 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
TARGET_CPPFLAGS+= -I../wiringPi
+TARGET_CPPFLAGS+= -D_GNU_SOURCE
do-build:
(cd $(WRKBUILD); $(MAKE) -C wiringPi)