PKGBUILDs/alarm/libbcm2835/PKGBUILD

28 lines
596 B
Bash
Raw Normal View History

# Maintainer: <nico.nell@gmail.com>
buildarch=16
_pkgbasename=bcm2835
pkgname=libbcm2835
pkgver=1.32
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/"
arch=('armv6h')
license=('GPL')
2013-12-02 12:01:44 +00:00
options=('staticlibs')
2013-07-31 21:53:33 +00:00
source=(http://www.airspayce.com/mikem/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('085239569554de5ee6649fe8bb123379')
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