diff --git a/srcpkgs/iwl3945-firmware/template b/srcpkgs/iwl3945-firmware/template new file mode 100644 index 0000000000..66dca00578 --- /dev/null +++ b/srcpkgs/iwl3945-firmware/template @@ -0,0 +1,25 @@ +# Template file for 'iwl3945-firmware' +pkgname=iwl3945-firmware +_distname=iwlwifi-3945-ucode +version=15.32.2.9 +wrksrc="${_distname}-${version}" +distfiles="http://intellinuxwireless.org/iwlwifi/downloads/${_distname}-${version}.tgz" +build_style=custom-install +short_desc="Firmware for the Intel PRO/Wireless 3945ABG/BG wifi cards" +maintainer="Juan RP " +checksum=536206a1f7881ab63cc38180af0dc05186e0588449b2f603415873bae8014e2d +long_desc=" + This package contains the firmware required by the iwl3945 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}/*.ucode ${DESTDIR}/lib/firmware || return 1 + install -m644 ${wrksrc}/LICENSE* \ + ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE || return 1 +}