# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bluez-firmware
pkgver=1.2
pkgrel=0
pkgdesc="Firmware for Broadcom BCM203x Blutonium devices"
url="http://www.bluez.org/"
arch="all"
license="GPL-2.0"
depends=""
makedepends=""
source="http://bluez.sf.net/download/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--libdir=/lib \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
}
sha512sums="15db2f9d38a496882e4cc3754af1e58aa99e1b849f2066c541d76c66a8ffdc5532799fe1fd473cfc158bf5ea86a46687716cbcf83c6dcac0ce66d97d679648dd  bluez-firmware-1.2.tar.gz"
