void-packages/srcpkgs/ipw2100-firmware/template
Juan RP 6b12936189 ipw2100-firmware: fix installation.
--HG--
extra : convert_revision : 710f47841c7555d03e12a17333eb54a7d301ddfe
2010-01-16 00:00:46 +01:00

27 lines
916 B
Plaintext

# Template file for 'ipw2100-firmware'
pkgname=ipw2100-firmware
_distname=ipw2100-fw
version=1.3
wrksrc="${_distname}-${version}"
create_wrksrc=yes
distfiles="http://bughost.org/firmware/${_distname}-${version}.tgz"
build_style=custom-install
short_desc="Firmware for the Intel PRO/Wireless 2100 wifi cards"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e1107c455e48d324a616b47a622593bc8413dcce72026f72731c0b03dae3a7a2
long_desc="
This package contains the firmware required by the ipw2100 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}/*.fw ${DESTDIR}/lib/firmware || return 1
install -m644 ${wrksrc}/LICENSE \
${DESTDIR}/usr/share/doc/${pkgname} || return 1
}