void-packages/srcpkgs/linux-firmware/template

31 lines
1.1 KiB
Text
Raw Normal View History

# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20120625
2012-07-09 18:29:25 +00:00
revision=1
noarch=yes
depends="linux-firmware-network>=$version"
subpackages="${pkgname}-network"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-08 14:29:39 +00:00
homepage="http://www.kernel.org/"
license="See /usr/share/licenses/${pkgname}"
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.xz"
checksum=2061a054155380721b7ccca6ff71b3f6832cc5a2992d8b1b9536f8365786d65b
long_desc="
This package provides binary firmware blobs for misc hardware supported by
the Linux kernel."
replaces="kernel-firmware>=0 radeon-firmware>=0 iwl1000-firmware>=0
iwl3945-firmware>=0 iwl4965-firmware>=0 iwl5000-firmware>=0 rt73usb-firmware>=0
2010-11-21 12:14:28 +00:00
iwl5150-firmware>=0 iwl6000-firmware>=0 rt2800usb>=0 rt61-firmware>=0
ar9170-firmware>=0"
do_install() {
2012-07-09 18:29:25 +00:00
vmkdir usr/lib/firmware
2012-01-24 10:48:52 +00:00
vmkdir usr/share/licenses/${pkgname}
2012-07-09 18:29:25 +00:00
vcopy "*" usr/lib/firmware
rm -f ${DESTDIR}/usr/lib/firmware/GPL{,-3}
mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \
${DESTDIR}/usr/share/licenses/${pkgname}
2010-11-21 12:14:28 +00:00
}