From 6d654dcad5679ca29fd129faaeb81fe998ca8e21 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 9 Oct 2009 12:09:45 +0200 Subject: [PATCH] Added rt61-firmware-1.2 build template. --HG-- extra : convert_revision : 8ac1cabf898362df165900733e1d5d192d323536 --- templates/rt61-firmware/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/rt61-firmware/template diff --git a/templates/rt61-firmware/template b/templates/rt61-firmware/template new file mode 100644 index 0000000000..9b81fafbc1 --- /dev/null +++ b/templates/rt61-firmware/template @@ -0,0 +1,25 @@ +# Template file for 'rt61-firmware' +pkgname=rt61-firmware +version=1.2 +_distname=RT61_Firmware +wrksrc=${_distname}_V${version} +distfiles="ftp://ftp.slackware.at/slackware-current/source/n/${pkgname}/${_distname}_V${version}.zip" +build_style=custom-install +short_desc="Firmware for RalinkĀ® RT2561/RT2661 A/B/G network adaptors" +maintainer="Juan RP " +checksum=481f113c505ed186049287bd8e9ad8fcb8dbbb32f3bb718f04e4dc148b63c8e4 +long_desc=" + This package contains the firmware required by the rt61pci 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}/rt2* ${DESTDIR}/lib/firmware + install -m644 ${wrksrc}/LICENSE* ${DESTDIR}/usr/share/doc/${pkgname} +}