mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
601 B
Bash
27 lines
601 B
Bash
# Maintainer: <nico.nell@gmail.com>
|
|
# Maintainer: <andrea@archlinux.org>
|
|
|
|
buildarch=20
|
|
|
|
_pkgbasename=bcm2835
|
|
pkgname=libbcm2835
|
|
pkgver=1.49
|
|
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=('15dcad0ef93a95fab7dca1bf477075cd')
|
|
|
|
build() {
|
|
cd ${_pkgbasename}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${_pkgbasename}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|