void-packages/srcpkgs/ipw2200-firmware/template

26 lines
909 B
Text
Raw Normal View History

# Template file for 'ipw2200-firmware'
pkgname=ipw2200-firmware
_distname=ipw2200-fw
version=3.1
wrksrc="${_distname}-${version}"
distfiles="http://bughost.org/firmware/${_distname}-${version}.tgz"
build_style=custom-install
short_desc="Firmware for the Intel PRO/Wireless 2200BG wifi cards"
maintainer="Juan RP <xtraeme@gmail.com>"
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."
noarch=yes
do_install()
{
install -d ${DESTDIR}/lib/firmware \
${DESTDIR}/usr/share/doc/${pkgname} || return 1
install -m644 ${wrksrc}/*.fw ${DESTDIR}/lib/firmware || return 1
install -m644 ${wrksrc}/LICENSE* \
${DESTDIR}/usr/share/doc/${pkgname}/LICENSE || return 1
}