PKGBUILDs/alarm/libbcm2835/PKGBUILD
2013-07-31 23:53:33 +02:00

31 lines
634 B
Bash

# Maintainer: <nico.nell@gmail.com>
buildarch=16
_pkgbasename=bcm2835
pkgname=libbcm2835
pkgver=1.26
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')
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
source=(http://www.airspayce.com/mikem/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('bd378a905fc3287694a27a5fcef9db9c')
build() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
make DESTDIR="${pkgdir}" install
}