2013-01-11 00:25:55 +00:00
|
|
|
# Maintainer: <nico.nell@gmail.com>
|
|
|
|
|
2015-03-22 20:15:10 +00:00
|
|
|
buildarch=20
|
2013-01-11 00:25:55 +00:00
|
|
|
|
|
|
|
_pkgbasename=bcm2835
|
|
|
|
pkgname=libbcm2835
|
2015-03-22 19:30:50 +00:00
|
|
|
pkgver=1.42
|
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')
|
2013-12-02 12:01:44 +00:00
|
|
|
options=('staticlibs')
|
2015-03-22 19:30:50 +00:00
|
|
|
source=(http://www.airspayce.com/mikem/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz bcm2835.patch)
|
|
|
|
md5sums=('3f60ac30ada6b8f7036243f13da441ba'
|
|
|
|
'62085703dbef25ed501002dec077c3d5')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
|
|
|
patch -p1 -i "$srcdir/bcm2835.patch"
|
|
|
|
}
|
2013-01-11 00:25:55 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2013-03-15 20:09:24 +00:00
|
|
|
|