mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
|
# 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
|
||
|
}
|