PKGBUILDs/alarm/libbcm2835/PKGBUILD
2015-09-23 12:10:38 +02:00

26 lines
564 B
Bash

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