PKGBUILDs/alarm/ti-connectivity/PKGBUILD

45 lines
1.1 KiB
Bash
Raw Normal View History

2011-05-28 19:06:10 +00:00
# TI Connectivity OMAP4 Firmware package
# This provides the proper firmware for the wl12xx TI WiFi driver used on the PandaBoard
# Maintainer: Kevin Mihelich <kevin@plugapps.com>
plugrel=1
noautobuild=1
pkgname=ti-connectivity
pkgver=20110528
pkgrel=1
pkgdesc="TI Connectivity OMAP4 Firmware for wl12xx"
arch=('arm')
url="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git"
license=('GPL')
makedepends=('git')
_gitroot="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git"
_gitname="linux-firmware"
build() {
cd $srcdir
## Git checkout
if [ -d $srcdir/${_gitname} ] ; then
msg "Git checkout: Updating existing tree"
cd ${_gitname} && git pull
msg "Git checkout: Tree has been updated"
else
msg "Git checkout: Retrieving sources"
git clone --depth 1 ${_gitroot}
fi
msg "Checkout completed"
}
package() {
cd $srcdir/${_gitname}
# create directory structure
install -d $pkgdir/lib/firmware/ti-connectivity
# copy everything
cp ti-connectivity/* $pkgdir/lib/firmware/ti-connectivity
}