vp-build/srcpkgs/ipw2200-firmware/template
Juan RP c04bc18d59 Added ipw2200-firmware-3.1 build template.
--HG--
extra : convert_revision : e3d4f6f2b106a5b553c1306c82e2cb5f50651e5c
2009-12-06 01:53:53 +01:00

26 lines
909 B
Plaintext

# 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
}