From 342db72cae0d3155d12e4f2c67344560b4bb6247 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Dec 2009 02:23:52 +0100 Subject: [PATCH] Added rt73usb-firmware-1.8 build template. --HG-- extra : convert_revision : 92f3aa9f9998d80fd1659851d2a54ab68569e633 --- srcpkgs/rt73usb-firmware/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/rt73usb-firmware/template diff --git a/srcpkgs/rt73usb-firmware/template b/srcpkgs/rt73usb-firmware/template new file mode 100644 index 0000000000..715eaf2a75 --- /dev/null +++ b/srcpkgs/rt73usb-firmware/template @@ -0,0 +1,25 @@ +# Template file for 'rt73usb-firmware' +pkgname=rt73usb-firmware +version=1.8 +_distname=RT71W_Firmware +wrksrc=${_distname}_V${version} +distfiles="ftp://ftp.archlinux.org/other/rt2x00-rt71w-fw/${_distname}_V${version}.zip" +build_style=custom-install +short_desc="Firmware for RalinkĀ® R73 USB network adaptors" +maintainer="Juan RP " +checksum=e2d3ac1aaf4815e0c9531bc3fb7f56f30604cd52351332f1f8d6a28bb9a953bf +long_desc=" + This package contains the firmware required by the rt73usb driver for Linux. + Usage of the firmware is subject to the terms and conditions contained + inside the provided LICENSE.ralink-firmware.txt file. + Please read it carefully." + +noarch=yes +Add_dependency build unzip + +do_install() +{ + install -d ${DESTDIR}/lib/firmware ${DESTDIR}/usr/share/doc/${pkgname} + install -m644 ${wrksrc}/rt* ${DESTDIR}/lib/firmware + install -m644 ${wrksrc}/LICENSE* ${DESTDIR}/usr/share/doc/${pkgname} +}