vp-build/srcpkgs/iwl3945-firmware/template

26 lines
950 B
Plaintext
Raw Normal View History

# 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
}