From 392b477c9bbe1875ab53d1e2d2d8f9861a08e018 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Dec 2009 02:07:16 +0100 Subject: [PATCH] Added iwl4965-firmware-228.61.2.24 build template. --HG-- extra : convert_revision : 8a90a5d16815ffb7aa4a8fb0fe9e57e4f2334504 --- srcpkgs/iwl4965-firmware/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/iwl4965-firmware/template diff --git a/srcpkgs/iwl4965-firmware/template b/srcpkgs/iwl4965-firmware/template new file mode 100644 index 00000000000..ac9a4d2cdb5 --- /dev/null +++ b/srcpkgs/iwl4965-firmware/template @@ -0,0 +1,25 @@ +# Template file for 'iwl4965-firmware' +pkgname=iwl4965-firmware +_distname=iwlwifi-4965-ucode +version=228.61.2.24 +wrksrc="${_distname}-${version}" +distfiles="http://intellinuxwireless.org/iwlwifi/downloads/${_distname}-${version}.tgz" +build_style=custom-install +short_desc="Firmware for the Intel PRO/Wireless 4965ABG/BG wifi cards" +maintainer="Juan RP " +checksum=b550e12dbbbba0601a306eb5bf287c703b1a32a61782fc08076483c8d870aad8 +long_desc=" + This package contains the firmware required by the iwl4965 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 +}