mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
parent
119deb342b
commit
bb8e925cd3
1 changed files with 6 additions and 5 deletions
|
@ -1,21 +1,22 @@
|
|||
# Maintainer: <nico.nell@gmail.com>
|
||||
# Maintainer: <andrea@archlinux.org>
|
||||
|
||||
buildarch=20
|
||||
buildarch=28
|
||||
|
||||
_pkgbasename=bcm2835
|
||||
pkgname=libbcm2835
|
||||
pkgver=1.50
|
||||
pkgrel=1
|
||||
pkgver=1.51
|
||||
pkgrel=1
|
||||
pkgdesc="C library for Broadcom BCM 2835 as used in Raspberry Pi"
|
||||
url="http://www.airspayce.com/mikem/bcm2835/"
|
||||
arch=('armv6h' 'armv7h')
|
||||
arch=('armv6h' 'armv7h' 'aarch64')
|
||||
license=('GPL')
|
||||
source=("http://www.airspayce.com/mikem/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz")
|
||||
md5sums=('258caf3437012d09a651e1852d0bd60c')
|
||||
md5sums=('c36ad5d2f2305d8620cde0bc94fb57f7')
|
||||
|
||||
build() {
|
||||
cd ${_pkgbasename}-${pkgver}
|
||||
[[ $CARCH == "aarch64" ]] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue