Contents of /trunk/core/linux-firmware/linux-firmware-20120304-r1.smage2
Parent Directory | Revision Log
Revision 11365 -
(show annotations)
(download)
Sun Mar 4 14:08:44 2012 UTC (12 years, 6 months ago) by niro
File size: 860 byte(s)
Sun Mar 4 14:08:44 2012 UTC (12 years, 6 months ago) by niro
File size: 860 byte(s)
auto added: ver bump to 20120304-r1
1 | # $Id$ |
2 | |
3 | PNAME="linux-firmware" |
4 | PVER="20120304" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="sys-kernel" |
8 | |
9 | DESCRIPTION="Firmware files used by the Linux kernel." |
10 | HOMEPAGE="http://www.kernel.org/" |
11 | |
12 | sminclude mtools |
13 | msetfeature "!strip" |
14 | |
15 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) |
16 | |
17 | UP2DATE="echo ${PVER}" |
18 | |
19 | src_prepare() |
20 | { |
21 | munpack ${SRCFILE} || die |
22 | } |
23 | |
24 | src_install() |
25 | { |
26 | cd ${SRCDIR} |
27 | minstalldir /lib/firmware || die |
28 | mcopy -a ${SRCDIR}/\* /lib/firmware || die |
29 | |
30 | # cleanup unused files |
31 | find ${BINDIR}/lib/firmware -name \*.asm -exec rm '{}' ';' || die |
32 | |
33 | # move licenses to the right location and gzip them |
34 | find ${BINDIR}/lib/firmware -name LICENCE\* -exec rm '{}' ';' || die |
35 | find ${BINDIR}/lib/firmware -name LICENSE\* -exec rm '{}' ';' || die |
36 | find ${BINDIR}/lib/firmware -name GPL\* -exec rm '{}' ';' || die |
37 | rm ${BINDIR}/WHENCE || die |
38 | minstalldoc LICENCE* LICENSE* WHENCE GPL* || die |
39 | } |