diff --git a/srcpkgs/ipw2200-firmware/template b/srcpkgs/ipw2200-firmware/template new file mode 100644 index 00000000000..f0ac3e7e175 --- /dev/null +++ b/srcpkgs/ipw2200-firmware/template @@ -0,0 +1,25 @@ +# 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 " +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 +}