void-packages/srcpkgs/ipw2200-firmware/template

21 lines
669 B
Bash

# Template file for 'ipw2200-firmware'
pkgname=ipw2200-firmware
_distname=ipw2200-fw
version=3.1
revision=5
noarch=yes
wrksrc="${_distname}-${version}"
short_desc="Firmware for the Intel PRO/Wireless 2200BG wifi cards"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Custom"
homepage="http://ipw2200.sourceforge.net/"
distfiles="http://firmware.openbsd.org/firmware-dist/${_distname}-${version}.tgz"
checksum=c6818c11c18cc030d55ff83f64b2bad8feef485e7742f84f94a61d811a6258bd
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
}