mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
27 lines
596 B
Bash
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
|
|
}
|
|
|