void-packages/srcpkgs/iwl3945-firmware/template
Juan RP 9529a6e31b Added iwl3945-firmware-15.32.2.9 build template.
--HG--
extra : convert_revision : 22db92cb725cad37d3bbc71a05094cc5772ba063
2009-12-06 02:02:01 +01:00

25 lines
950 B
Text

# Template file for 'iwl3945-firmware'
pkgname=iwl3945-firmware
_distname=iwlwifi-3945-ucode
version=15.32.2.9
wrksrc="${_distname}-${version}"
distfiles="http://intellinuxwireless.org/iwlwifi/downloads/${_distname}-${version}.tgz"
build_style=custom-install
short_desc="Firmware for the Intel PRO/Wireless 3945ABG/BG wifi cards"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=536206a1f7881ab63cc38180af0dc05186e0588449b2f603415873bae8014e2d
long_desc="
This package contains the firmware required by the iwl3945 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
}