mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
30 lines
629 B
Bash
30 lines
629 B
Bash
# Maintainer: <nico.nell@gmail.com>
|
|
|
|
buildarch=16
|
|
|
|
_pkgbasename=bcm2835
|
|
pkgname=libbcm2835
|
|
pkgver=1.17
|
|
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=('5a910d7680edf3ac9358f23e8ee4b353')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|