mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
63ee9c537f
staticlibs is no more needed because makepkg 4.2 keeps the static lib when no dynamic lib is available.
26 lines
562 B
Bash
26 lines
562 B
Bash
# Maintainer: <nico.nell@gmail.com>
|
|
|
|
buildarch=20
|
|
|
|
_pkgbasename=bcm2835
|
|
pkgname=libbcm2835
|
|
pkgver=1.44
|
|
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=('f37bd6526b38face9e3ae29d97970a72')
|
|
|
|
build() {
|
|
cd ${_pkgbasename}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${_pkgbasename}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|