From ec41cd4b1ecf05afe36c1ea60b0a73fd4e88f233 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Dec 2009 02:54:55 +0100 Subject: [PATCH] Added iwl1000-firmware-128.50.3.1 build template. --HG-- extra : convert_revision : 31dcf43dd90599345537cc6361e131a0ed506631 --- srcpkgs/iwl1000-firmware/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/iwl1000-firmware/template diff --git a/srcpkgs/iwl1000-firmware/template b/srcpkgs/iwl1000-firmware/template new file mode 100644 index 00000000000..b55eb2711f5 --- /dev/null +++ b/srcpkgs/iwl1000-firmware/template @@ -0,0 +1,25 @@ +# Template file for 'iwl1000-firmware' +pkgname=iwl1000-firmware +_distname=iwlwifi-1000-ucode +version=128.50.3.1 +wrksrc="${_distname}-${version}" +distfiles="http://intellinuxwireless.org/iwlwifi/downloads/${_distname}-${version}.tgz" +build_style=custom-install +short_desc="Firmware for the Intel's WiFi Link 1000BGN wifi cards" +maintainer="Juan RP " +checksum=7e81ddad18acec19364c9df22496e8afae99a2e1490b2b178e420b52d443728d +long_desc=" + This package contains the firmware required by the iwl* 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 +}