mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
44 lines
1.2 KiB
Bash
44 lines
1.2 KiB
Bash
# $Id$
|
|
# Maintainer: Mike Brown <mbrown@archlinuxarm.org>
|
|
_pkgbase='wiringPi'
|
|
pkgname=wiringpi-examples
|
|
pkgver=19_Jul_2012
|
|
pkgrel=1
|
|
pkgdesc="WiringPi: An implementation of most of the Arduino Wiring functions for the Raspberry Pi"
|
|
arch=('arm')
|
|
license=('LGPL')
|
|
url="https://projects.drogon.net/raspberry-pi/wiringpi/"
|
|
depends=('wiringpi-headers')
|
|
source=(http://project-downloads.drogon.net/files/wiringPi.tgz)
|
|
md5sums=('b3c6b79c525e0d1db436445f7aabe716')
|
|
install=wiringpi-examples.install
|
|
groups=wiringpi
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${_pkgbase}/examples"
|
|
make
|
|
|
|
}
|
|
|
|
|
|
package(){
|
|
cd "${srcdir}/${_pkgbase}/examples"
|
|
|
|
install -Dm750 "${srcdir}/wiringPi/examples/test1" "${pkgdir}/root/wiringPi_examples/test1"
|
|
install -Dm750 "${srcdir}/wiringPi/examples/test2" "${pkgdir}/root/wiringPi_examples/test2"
|
|
install -Dm750 "${srcdir}/wiringPi/examples/speed" "${pkgdir}/root/wiringPi_examples/speed"
|
|
install -Dm750 "${srcdir}/wiringPi/examples/lcd" "${pkgdir}/root/wiringPi_examples/lcd"
|
|
install -Dm750 "${srcdir}/wiringPi/examples/wfi" "${pkgdir}/root/wiringPi_examples/wfi"
|
|
install -Dm750 "${srcdir}/wiringPi/examples/piface" "${pkgdir}/root/wiringPi_examples/piface"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|