Added ipw2100-firmware-1.3 build template.

--HG--
extra : convert_revision : e68774a94d9053d79f30074bd931108ffb65fdfb
This commit is contained in:
Juan RP 2009-12-06 01:47:13 +01:00
parent 1a7a23a4cc
commit fc443307fa
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# Template file for 'ipw2100-firmware'
pkgname=ipw2100-firmware
_distname=ipw2100-fw
version=1.3
wrksrc="${_distname}-${version}"
distfiles="http://bughost.org/firmware/${_distname}-${version}.tgz"
build_style=custom-install
short_desc="Firmware for the Intel® PRO/Wireless 210 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()
{
mv ${XBPS_BUILDDIR}/*.fw ${XBPS_BUILDDIR}/LICENSE ${wrksrc} || return 1
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
}