Contents of /branches/R11-stable/extras/vgabios/vgabios-0.7a-r2.smage2
Parent Directory | Revision Log
Revision 15400 -
(show annotations)
(download)
Wed Jan 2 11:39:42 2013 UTC (11 years, 8 months ago) by niro
File size: 1691 byte(s)
Wed Jan 2 11:39:42 2013 UTC (11 years, 8 months ago) by niro
File size: 1691 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="vgabios" |
4 | PVER="0.7a" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="sys-apps" |
8 | |
9 | DESCRIPTION="VGA BIOS implementation." |
10 | HOMEPAGE="http://www.nongnu.org/vgabios/" |
11 | |
12 | DEPEND="" |
13 | SDEPEND=">= dev-lang/dev86-0.16" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tgz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mtools |
19 | msetfeature "!check" |
20 | |
21 | SRC_URI=( |
22 | http://savannah.gnu.org/download/${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/0001-Re-add-complete-defines-for-PCI-IDs.patch |
25 | mirror://${PNAME}/0002-Add-qemu-stdvga-pci-bios.patch |
26 | mirror://${PNAME}/0003-Add-qemu-vmware-vga-pci-bios.patch |
27 | mirror://${PNAME}/0004-Add-qemu-qxl-vga-pci-bios.patch |
28 | ) |
29 | |
30 | UP2DATE="updatecmd http://www.linuxtogo.org/~kevin/SeaBIOS | grep ${PNAME}- | lasttarball gz" |
31 | |
32 | src_prepare() |
33 | { |
34 | munpack ${SRCFILE} || die |
35 | cd ${SRCDIR} |
36 | |
37 | mpatch 0001-Re-add-complete-defines-for-PCI-IDs.patch || die |
38 | mpatch 0002-Add-qemu-stdvga-pci-bios.patch || die |
39 | mpatch 0003-Add-qemu-vmware-vga-pci-bios.patch || die |
40 | mpatch 0004-Add-qemu-qxl-vga-pci-bios.patch || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | cd ${SRCDIR} |
46 | # clean out pre-built binaries |
47 | mmake clean || die |
48 | mmake biossums || die |
49 | mmake || die |
50 | } |
51 | |
52 | src_install() |
53 | { |
54 | cd ${SRCDIR} |
55 | |
56 | minstalldir /usr/share/vgabios || die |
57 | minstallfile VGABIOS-lgpl-latest.bin /usr/share/vgabios/vgabios.bin || die |
58 | minstallfile VGABIOS-lgpl-latest.cirrus.bin /usr/share/vgabios/vgabios-cirrus.bin || die |
59 | minstallfile VGABIOS-lgpl-latest.qxl.bin /usr/share/vgabios/vgabios-qxl.bin || die |
60 | minstallfile VGABIOS-lgpl-latest.stdvga.bin /usr/share/vgabios/vgabios-stdvga.bin || die |
61 | minstallfile VGABIOS-lgpl-latest.vmware.bin /usr/share/vgabios/vgabios-vmware.bin || die |
62 | |
63 | minstalldocs BUGS ChangeLog COPYING README TODO || die |
64 | } |