ipw2200-firmware: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 17:43:58 +02:00
parent 881736fe8a
commit ffce5f6691

View file

@ -2,24 +2,21 @@
pkgname=ipw2200-firmware
_distname=ipw2200-fw
version=3.1
noarch=yes
revision=2
wrksrc="${_distname}-${version}"
distfiles="http://bughost.org/firmware/${_distname}-${version}.tgz"
revision=1
short_desc="Firmware for the Intel PRO/Wireless 2200BG wifi cards"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://bughost.org/firmware/${_distname}-${version}.tgz"
checksum=c6818c11c18cc030d55ff83f64b2bad8feef485e7742f84f94a61d811a6258bd
long_desc="
This package contains the firmware required by the ipw2200 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}/LICENSE || return 1
do_install() {
vmkdir usr/lib/firmware
vmkdir usr/share/licenses/$pkgname
install -m644 *.fw ${DESTDIR}/usr/lib/firmware
install -m644 LICENSE* ${DESTDIR}/usr/share/licenses/$pkgname
}