From e79d3fc2622cf937434c2a099054fce8cdc4e474 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Dec 2009 02:57:15 +0100 Subject: [PATCH] Added iwl6000-firmware-9.176.4.1 build template. --HG-- extra : convert_revision : 2fa0a37efa7f5694f23f0db846f968315e5cb784 --- srcpkgs/iwl6000-firmware/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/iwl6000-firmware/template diff --git a/srcpkgs/iwl6000-firmware/template b/srcpkgs/iwl6000-firmware/template new file mode 100644 index 0000000000..195eeaab2f --- /dev/null +++ b/srcpkgs/iwl6000-firmware/template @@ -0,0 +1,25 @@ +# Template file for 'iwl6000-firmware' +pkgname=iwl6000-firmware +_distname=iwlwifi-6000-ucode +version=9.176.4.1 +wrksrc="${_distname}-${version}" +distfiles="http://intellinuxwireless.org/iwlwifi/downloads/${_distname}-${version}.tgz" +build_style=custom-install +short_desc="Firmware for the Intel's 6000 series wifi cards" +maintainer="Juan RP " +checksum=ac1923870c5d041d238d1a919b8dbb9cea46eaa28e7d06ef7bb5b0dbef316fbb +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 +}