2010-10-21 21:44:19 +00:00
|
|
|
# Template file for 'linux-firmware'
|
|
|
|
pkgname=linux-firmware
|
2011-05-19 07:27:07 +00:00
|
|
|
version=20110519
|
2011-01-19 15:27:55 +00:00
|
|
|
distfiles=http://xbps.nopcode.org/distfiles/$pkgname-$version.tar.xz
|
2010-10-21 21:44:19 +00:00
|
|
|
build_style=custom-install
|
|
|
|
short_desc="Binary firmware blobs for the Linux kernel"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-19 07:27:07 +00:00
|
|
|
checksum=399dbbfa130484f87dd91599ea02ccaf3e2ad671d2664b1769b551baacfd11ea
|
2010-10-21 21:44:19 +00:00
|
|
|
long_desc="
|
|
|
|
This package provides binary firmware blobs for misc hardware supported by
|
|
|
|
the Linux kernel."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
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"
|
2010-10-21 21:44:19 +00:00
|
|
|
|
|
|
|
Add_dependency build xz
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-01-19 15:27:55 +00:00
|
|
|
cd ${wrksrc}
|
2010-11-21 12:14:28 +00:00
|
|
|
|
2010-10-21 21:44:19 +00:00
|
|
|
install -d ${DESTDIR}/lib/firmware
|
|
|
|
install -d ${DESTDIR}/usr/share/licenses/${pkgname}
|
2010-11-21 12:14:28 +00:00
|
|
|
cp -a * ${DESTDIR}/lib/firmware
|
2011-03-03 20:28:44 +00:00
|
|
|
rm -f ${DESTDIR}/lib/firmware/GPL{,-3}
|
2010-10-21 21:44:19 +00:00
|
|
|
mv ${DESTDIR}/lib/firmware/{LICEN*,WHENCE} \
|
|
|
|
${DESTDIR}/usr/share/licenses/${pkgname}
|
2010-11-21 12:14:28 +00:00
|
|
|
${XBPS_FETCH_CMD} http://www.kernel.org/pub/linux/kernel/people/mcgrof/firmware/ar9170/ar9170.fw
|
|
|
|
mv ar9170.fw ${DESTDIR}/lib/firmware
|
|
|
|
}
|