Added rt61-firmware-1.2 build template.
--HG-- extra : convert_revision : 8ac1cabf898362df165900733e1d5d192d323536
This commit is contained in:
parent
628d91956c
commit
6d654dcad5
1 changed files with 25 additions and 0 deletions
25
templates/rt61-firmware/template
Normal file
25
templates/rt61-firmware/template
Normal file
|
@ -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 <xtraeme@gmail.com>"
|
||||||
|
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}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue