PKGBUILDs/alarm/libbcm2835/PKGBUILD
2013-12-02 13:02:41 +01:00

27 lines
596 B
Bash

# Maintainer: <nico.nell@gmail.com>
buildarch=16
_pkgbasename=bcm2835
pkgname=libbcm2835
pkgver=1.33
pkgrel=1
pkgdesc="C library for Broadcom BCM 2835 as used in Raspberry Pi"
url="http://www.airspayce.com/mikem/bcm2835/"
arch=('armv6h')
license=('GPL')
options=('staticlibs')
source=(http://www.airspayce.com/mikem/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('afc449e32c955bd8dbd98ddaafd72d35')
build() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
make DESTDIR="${pkgdir}" install
}