void-packages/srcpkgs/ipw2200-firmware/template

31 lines
957 B
Text
Raw Normal View History

# Template file for 'ipw2200-firmware'
pkgname=ipw2200-firmware
_distname=ipw2200-fw
version=3.1
revision=3
wrksrc="${_distname}-${version}"
short_desc="Firmware for the Intel PRO/Wireless 2200BG wifi cards"
homepage="http://ipw2200.sourceforge.net/"
license="Custom"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://firmware.openbsd.org/firmware-dist/${_distname}-${version}.tgz"
checksum=c6818c11c18cc030d55ff83f64b2bad8feef485e7742f84f94a61d811a6258bd
long_desc="
This package contains the firmware required by the ipw2200 driver for Linux.
Usage of the firmware is subject to the terms and conditions contained
inside the provided LICENSE file. Please read it carefully."
2012-07-09 15:43:58 +00:00
do_install() {
vmkdir usr/lib/firmware
vmkdir usr/share/licenses/$pkgname
install -m644 *.fw ${DESTDIR}/usr/lib/firmware
install -m644 LICENSE* ${DESTDIR}/usr/share/licenses/$pkgname
}
ipw2200-firmware_package() {
noarch="yes"
pkg_install() {
vmove usr
}
}