Merge pull request #346 from cosmonaut/libbcm2835

Add package alarm/libbcm2835 for armv6h
This commit is contained in:
Kevin Mihelich 2013-01-10 16:39:55 -08:00
commit 1c2f72b453

30
alarm/libbcm2835/PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: <nico.nell@gmail.com>
buildarch=16
_pkgbasename=bcm2835
pkgname=libbcm2835
pkgver=1.15
pkgrel=1
pkgdesc="C library for Broadcom BCM 2835 as used in Raspberry Pi"
url="http://www.open.com.au/mikem/bcm2835/"
arch=('armv6h')
license=('GPL')
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
source=(http://www.open.com.au/mikem/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('49bd399cf085111fd894635ccea060bc')
build() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
make DESTDIR="${pkgdir}" install
}