diff --git a/srcpkgs/iwl5000-firmware/template b/srcpkgs/iwl5000-firmware/template new file mode 100644 index 0000000000..0a12e987d6 --- /dev/null +++ b/srcpkgs/iwl5000-firmware/template @@ -0,0 +1,25 @@ +# Template file for 'iwl5000-firmware' +pkgname=iwl5000-firmware +_distname=iwlwifi-5000-ucode +version=8.24.2.12 +wrksrc="${_distname}-${version}" +distfiles="http://intellinuxwireless.org/iwlwifi/downloads/${_distname}-${version}.tgz" +build_style=custom-install +short_desc="Firmware for the Intel PRO/Wireless 5000AGN/ABG/BG wifi cards" +maintainer="Juan RP " +checksum=8129119e47d92e163a768370e01afe4e62a45a524f9007bef69525d56f658740 +long_desc=" + This package contains the firmware required by the iwlagn 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 +}