2014-04-30 13:16:29 +00:00
|
|
|
# Maintainer: Dave H <pepedog at archlinuxarm dot org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=firmware-brcm43xx
|
|
|
|
pkgdesc="bluetooth firmware and firware loading utility for the bcm43xx bluetooth"
|
2014-05-26 19:29:37 +00:00
|
|
|
pkgver=1.1
|
2015-03-06 15:38:49 +00:00
|
|
|
pkgrel=3
|
2014-04-30 13:16:29 +00:00
|
|
|
arch=('armv7h')
|
|
|
|
url="https://github.com/OpenBricks/openbricks/tree/master/packages/brcm-patchram-plus"
|
|
|
|
license=('apache' 'custom')
|
|
|
|
makedepends=('')
|
|
|
|
depends=('bluez-utils')
|
|
|
|
backup=('etc/conf.d/bcm43xx')
|
2015-03-06 15:12:55 +00:00
|
|
|
source=('https://raw.githubusercontent.com/OpenBricks/openbricks/master/packages/firmware/firmware-wifi-brcm80211/config/bcm4329_nvram.txt'
|
|
|
|
'https://raw.githubusercontent.com/OpenBricks/openbricks/master/packages/firmware/firmware-wifi-brcm80211/config/bcm4330_nvram.txt'
|
|
|
|
'https://raw.githubusercontent.com/OpenBricks/openbricks/master/packages/firmware/firmware-wifi-brcm80211/config/bcm4330_nvram.txt'
|
|
|
|
'https://github.com/OpenBricks/openbricks/raw/master/packages/net/brcm-patchram-plus/sources/bcm4329.hcd'
|
|
|
|
'https://github.com/OpenBricks/openbricks/raw/master/packages/net/brcm-patchram-plus/sources/bcm4330.hcd'
|
|
|
|
'https://raw.githubusercontent.com/OpenBricks/openbricks/master/packages/net/brcm-patchram-plus/sources/brcm_patchram_plus.c'
|
2014-05-25 19:44:25 +00:00
|
|
|
'brcm43xx-firmware-update'
|
|
|
|
'brcm43xx-firmware.service'
|
2014-05-25 19:23:59 +00:00
|
|
|
'brcm43xx.service'
|
|
|
|
'bcm43xx')
|
2014-04-30 13:16:29 +00:00
|
|
|
md5sums=('bf01292eec17815baa68a83d3d7722ad'
|
|
|
|
'31a9a011ce24707ed3c1024616c9005e'
|
|
|
|
'31a9a011ce24707ed3c1024616c9005e'
|
|
|
|
'ff27325602dc223203adfdd23a89844b'
|
|
|
|
'8e32f9168aaa540467589c153129c57a'
|
|
|
|
'627e9612337e5ef6027a87a79c491446'
|
2015-03-06 14:44:00 +00:00
|
|
|
'c318d1d7cc65e89d5238e7c9ec0f4bfc'
|
2014-05-25 19:44:25 +00:00
|
|
|
'a1bd492bdafced5b41abe4bdebbb07e2'
|
|
|
|
'cb3cbf6ee612e711d4b2c578d93fdae5'
|
|
|
|
'f21bddcbe8c4e1dedaf31e2959b284d9')
|
2014-04-30 13:16:29 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/"
|
|
|
|
gcc brcm_patchram_plus.c -o brcm_patchram_plus
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/"
|
|
|
|
mkdir -p ${pkgdir}/usr/lib/firmware/brcm
|
2014-06-28 23:31:21 +00:00
|
|
|
mkdir -p ${pkgdir}/usr/bin
|
2014-04-30 13:16:29 +00:00
|
|
|
mkdir -p ${pkgdir}/etc/conf.d
|
|
|
|
mkdir -p ${pkgdir}/usr/lib/systemd/scripts
|
|
|
|
install -D -m0644 bcm4329_nvram.txt "${pkgdir}/usr/lib/firmware/brcm/brcmfmac4329-sdio.txt"
|
|
|
|
install -D -m0644 bcm4330_nvram.txt "${pkgdir}/usr/lib/firmware/brcm/brcmfmac4330-sdio.txt"
|
|
|
|
install -D -m0644 bcm4329.hcd "${pkgdir}/usr/lib/firmware/brcm/bcm4329.hcd"
|
|
|
|
install -D -m0644 bcm4330.hcd "${pkgdir}/usr/lib/firmware/brcm/bcm4330.hcd"
|
|
|
|
install -D -m0755 brcm_patchram_plus "${pkgdir}/usr/bin/brcm_patchram_plus"
|
|
|
|
install -D -m0644 bcm43xx "${pkgdir}/etc/conf.d/bcm43xx"
|
|
|
|
install -D -m0644 brcm43xx.service "${pkgdir}/usr/lib/systemd/system/brcm43xx.service"
|
2014-05-25 19:44:25 +00:00
|
|
|
install -D -m0644 brcm43xx-firmware.service "${pkgdir}/usr/lib/systemd/system/brcm43xx-firmware.service"
|
|
|
|
install -D -m0755 brcm43xx-firmware-update "${pkgdir}/usr/lib/systemd/scripts/brcm43xx-firmware-update"
|
2014-04-30 13:16:29 +00:00
|
|
|
}
|
|
|
|
|