PKGBUILDs/alarm/libbcm2835/PKGBUILD

34 lines
758 B
Bash
Raw Normal View History

# Maintainer: <nico.nell@gmail.com>
2015-03-22 20:15:10 +00:00
buildarch=20
_pkgbasename=bcm2835
pkgname=libbcm2835
2015-03-22 19:30:50 +00:00
pkgver=1.42
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')
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'
2015-03-22 20:28:22 +00:00
'f38a6a1b15598d03c6e882b08c082afa')
2015-03-22 19:30:50 +00:00
prepare() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
patch -p1 -i "$srcdir/bcm2835.patch"
}
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