PKGBUILDs/alarm/libbcm2835/PKGBUILD

32 lines
630 B
Bash
Raw Normal View History

# Maintainer: <nico.nell@gmail.com>
buildarch=16
_pkgbasename=bcm2835
pkgname=libbcm2835
2013-03-15 20:09:24 +00:00
pkgver=1.22
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)
2013-03-15 20:09:24 +00:00
md5sums=('4557da45c1de02561cdb619e9f55315a')
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