2013-01-11 00:25:55 +00:00
|
|
|
# Maintainer: <nico.nell@gmail.com>
|
2015-12-24 10:38:37 +00:00
|
|
|
# Maintainer: <andrea@archlinux.org>
|
2013-01-11 00:25:55 +00:00
|
|
|
|
2015-03-22 20:15:10 +00:00
|
|
|
buildarch=20
|
2013-01-11 00:25:55 +00:00
|
|
|
|
|
|
|
_pkgbasename=bcm2835
|
|
|
|
pkgname=libbcm2835
|
2016-03-21 10:09:03 +00:00
|
|
|
pkgver=1.50
|
2013-01-11 00:25:55 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="C library for Broadcom BCM 2835 as used in Raspberry Pi"
|
2013-07-31 21:53:33 +00:00
|
|
|
url="http://www.airspayce.com/mikem/bcm2835/"
|
2015-03-22 19:30:50 +00:00
|
|
|
arch=('armv6h' 'armv7h')
|
2013-01-11 00:25:55 +00:00
|
|
|
license=('GPL')
|
2015-09-23 10:10:38 +00:00
|
|
|
source=("http://www.airspayce.com/mikem/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz")
|
2016-03-21 10:09:03 +00:00
|
|
|
md5sums=('258caf3437012d09a651e1852d0bd60c')
|
2013-01-11 00:25:55 +00:00
|
|
|
|
|
|
|
build() {
|
2015-05-05 10:03:54 +00:00
|
|
|
cd ${_pkgbasename}-${pkgver}
|
2013-01-11 00:25:55 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-05-05 10:03:54 +00:00
|
|
|
cd ${_pkgbasename}-${pkgver}
|
2013-01-11 00:25:55 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2013-03-15 20:09:24 +00:00
|
|
|
|