mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
parent
bd4933baf5
commit
2c8dd08d63
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@ buildarch=4
|
|||
|
||||
_pkgname='wiringPi'
|
||||
pkgname=wiringc1
|
||||
pkgver=70.8a4df6c
|
||||
pkgver=72.8430615
|
||||
pkgrel=1
|
||||
pkgdesc="An implementation of most of the Arduino Wiring functions for the ODROID-C1"
|
||||
arch=('armv7h')
|
||||
|
@ -38,10 +38,12 @@ package(){
|
|||
install -m 0755 -d "${pkgdir}/usr/include"
|
||||
install -m 0644 *.h "${pkgdir}/usr/include"
|
||||
install -m 0644 libwiringPi.{a,so*} "${pkgdir}/usr/lib"
|
||||
ln -s /usr/lib/libwiringPi.so.2.0 "${pkgdir}/usr/lib/libwiringPi.so"
|
||||
|
||||
cd "${srcdir}/${_pkgname}/devLib"
|
||||
install -m 0644 *.h "${pkgdir}/usr/include"
|
||||
install -m 0644 libwiringPiDev.{a,so*} "${pkgdir}/usr/lib"
|
||||
ln -s /usr/lib/libwiringPiDev.so.2.0 "${pkgdir}/usr/lib/libwiringPiDev.so"
|
||||
|
||||
cd "${srcdir}/${_pkgname}/gpio"
|
||||
install -m 0755 -d "${pkgdir}/usr/bin"
|
||||
|
|
Loading…
Reference in a new issue