Added radeon-firmware that contains some propietary binary fw files.

--HG--
extra : convert_revision : b09ffa8143d9661d4794640b58e682d538c8552e
This commit is contained in:
Juan RP 2010-02-18 19:44:18 +01:00
parent c04ff892ea
commit 0ed894528c

View file

@ -0,0 +1,35 @@
# Template file for 'radeon-firmware'
pkgname=radeon-firmware
version=1.0
wrksrc=$pkgname
distfiles="
http://people.freedesktop.org/~agd5f/radeon_ucode/R600_rlc.bin
http://people.freedesktop.org/~agd5f/radeon_ucode/R700_rlc.bin
http://people.freedesktop.org/~agd5f/radeon_ucode/LICENSE.radeon"
build_style=custom-install
short_desc="Firmware for ATI Radeon video cards"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum="
fafa54e2e28cfffe014163f88bde5039becf921f63b2e51cd82f32df77bc7d85
eacd95219f0eac701bb75c3142906fd7fef78cc2e0816fc2fb51460c17cd6fd1
afb250469fa21f2ad38330349a591232210e99fb003ba46a940a57ae695ca280"
long_desc="
This package contains some binary firmware files required by the
radeon KMS driver for Linux."
noextract=yes
noarch=yes
do_install()
{
install -d ${DESTDIR}/lib/firmware/radeon
install -d ${DESTDIR}/usr/share/doc/${pkgname}
for f in ${distfiles}; do
lfile=$(basename ${f})
install -m644 ${XBPS_SRCDISTDIR}/${lfile} \
${DESTDIR}/lib/firmware/radeon || return 1
done
install -m644 ${XBPS_SRCDISTDIR}/LICENSE.radeon \
${DESTDIR}/usr/share/doc/${pkgname} || return 1
}