From df6eccee9013b8158afc33eb53663e36395f5265 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Dec 2009 02:14:06 +0100 Subject: [PATCH] Added iwl5150-firmware build template. --HG-- extra : convert_revision : 9943d86f753b9b48092311e2520a3edac35657cc --- srcpkgs/iwl5150-firmware/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/iwl5150-firmware/template diff --git a/srcpkgs/iwl5150-firmware/template b/srcpkgs/iwl5150-firmware/template new file mode 100644 index 0000000000..4433a5dd2f --- /dev/null +++ b/srcpkgs/iwl5150-firmware/template @@ -0,0 +1,25 @@ +# Template file for 'iwl5150-firmware' +pkgname=iwl5150-firmware +_distname=iwlwifi-5150-ucode +version=8.24.2.2 +wrksrc="${_distname}-${version}" +distfiles="http://intellinuxwireless.org/iwlwifi/downloads/${_distname}-${version}.tgz" +build_style=custom-install +short_desc="Firmware for the Intel PRO/Wireless 5150AGN wifi cards" +maintainer="Juan RP " +checksum=d253e6ff6624639aded67c82df98b2bc4a66eb66400848d5614921d513540cf9 +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 +}