void-packages/srcpkgs/rt73usb-firmware/template

26 lines
919 B
Plaintext

# 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 <xtraeme@gmail.com>"
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}
}