2010-10-21 23:44:19 +02:00
|
|
|
# Template file for 'linux-firmware'
|
|
|
|
pkgname=linux-firmware
|
2013-05-01 08:42:59 +02:00
|
|
|
version=20130430
|
2013-05-01 08:53:36 +02:00
|
|
|
revision=2
|
2010-10-21 23:44:19 +02:00
|
|
|
short_desc="Binary firmware blobs for the Linux kernel"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-08 16:29:39 +02:00
|
|
|
homepage="http://www.kernel.org/"
|
|
|
|
license="See /usr/share/licenses/${pkgname}"
|
2012-07-17 15:03:04 +02:00
|
|
|
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.xz"
|
2013-05-01 08:42:59 +02:00
|
|
|
checksum=95c06a49501a3eac31d9a28ee019b698be03229503fdcb16981e22f503e23d5a
|
2010-10-21 23:44:19 +02:00
|
|
|
long_desc="
|
|
|
|
This package provides binary firmware blobs for misc hardware supported by
|
|
|
|
the Linux kernel."
|
|
|
|
|
2011-10-14 19:24:20 +02:00
|
|
|
do_install() {
|
2012-07-09 20:29:25 +02:00
|
|
|
vmkdir usr/lib/firmware
|
2012-01-24 11:48:52 +01:00
|
|
|
vmkdir usr/share/licenses/${pkgname}
|
2012-07-09 20:29:25 +02:00
|
|
|
vcopy "*" usr/lib/firmware
|
|
|
|
rm -f ${DESTDIR}/usr/lib/firmware/GPL{,-3}
|
|
|
|
mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \
|
2010-10-21 23:44:19 +02:00
|
|
|
${DESTDIR}/usr/share/licenses/${pkgname}
|
2010-11-21 13:14:28 +01:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
linux-firmware-network_package() {
|
2013-05-01 08:42:59 +02:00
|
|
|
short_desc+=" -- network"
|
2013-04-13 10:15:49 +02:00
|
|
|
noarch=yes
|
2013-05-01 08:53:36 +02:00
|
|
|
# Some files from main pkg have been moved here.
|
|
|
|
replaces="linux-firmware<20130430"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/firmware/3com
|
|
|
|
vmove usr/lib/firmware/RTL8192E
|
|
|
|
vmove "usr/lib/firmware/rt*"
|
|
|
|
vmove "usr/lib/firmware/ath*"
|
|
|
|
vmove "usr/lib/firmware/ar*"
|
|
|
|
vmove "usr/lib/firmware/bnx2*"
|
|
|
|
vmove usr/lib/firmware/brcm
|
2013-05-01 08:42:59 +02:00
|
|
|
vmove "usr/lib/firmware/cxgb*"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove "usr/lib/firmware/i*"
|
2013-05-01 08:42:59 +02:00
|
|
|
vmove usr/lib/firmware/kaweth
|
|
|
|
vmove usr/lib/firmware/libertas
|
|
|
|
vmove usr/lib/firmware/ueagle-atm
|
|
|
|
vmove usr/lib/firmware/ti-connectivity
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
linux-firmware_package() {
|
|
|
|
replaces="kernel-firmware>=0 radeon-firmware>=0 iwl1000-firmware>=0
|
|
|
|
iwl3945-firmware>=0 iwl4965-firmware>=0 iwl5000-firmware>=0
|
|
|
|
iwl5150-firmware>=0 iwl6000-firmware>=0 rt73usb-firmware>=0
|
|
|
|
rt2800usb>=0 rt61-firmware>=0 ar9170-firmware>=0"
|
|
|
|
depends="${pkgname}-network-${version}_${revision}"
|
|
|
|
noarch=yes
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|