From c04bc18d59fd52bd41e2a253a1b96f9344319447 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Dec 2009 01:53:53 +0100 Subject: [PATCH] Added ipw2200-firmware-3.1 build template. --HG-- extra : convert_revision : e3d4f6f2b106a5b553c1306c82e2cb5f50651e5c --- srcpkgs/ipw2200-firmware/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/ipw2200-firmware/template diff --git a/srcpkgs/ipw2200-firmware/template b/srcpkgs/ipw2200-firmware/template new file mode 100644 index 0000000000..f0ac3e7e17 --- /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 +}