summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/vgabios/vgabios-0.7a.ebuild')
-rw-r--r--sys-apps/vgabios/vgabios-0.7a.ebuild67
1 files changed, 67 insertions, 0 deletions
diff --git a/sys-apps/vgabios/vgabios-0.7a.ebuild b/sys-apps/vgabios/vgabios-0.7a.ebuild
new file mode 100644
index 000000000000..9dd0d1d3aa16
--- /dev/null
+++ b/sys-apps/vgabios/vgabios-0.7a.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vgabios/vgabios-0.7a.ebuild,v 1.1 2012/01/25 03:27:56 cardoe Exp $
+
+# Can't really call them backports when they're fixes that upstream
+# won't carry
+FIXES=1
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="VGA BIOS implementation"
+HOMEPAGE="http://www.nongnu.org/vgabios/"
+SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tgz
+ http://dev.gentoo.org/~cardoe/distfiles/${P}-fixes-${FIXES}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+#KEYWORDS="~amd64 ~x86"
+KEYWORDS="-*"
+IUSE="debug"
+
+DEPEND="sys-devel/dev86"
+RDEPEND=""
+
+src_prepare() {
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
+ epatch
+}
+
+pkg_configure() {
+ :
+}
+
+src_compile() {
+ emake biossums
+ emake
+}
+
+src_install() {
+ insinto /usr/share/vgabios
+
+ # Stock VGABIOS
+ newins VGABIOS-lgpl-latest.bin vgabios.bin
+ use debug && newins VGABIOS-lgpl-latest.debug.bin vgabios.debug.bin
+
+ # Cirrus
+ newins VGABIOS-lgpl-latest.cirrus.bin vgabios.cirrus.bin
+ use debug && newins VGABIOS-lgpl-latest.cirrus.debug.bin \
+ vgabios.cirrus.debug.bin
+
+ # QXL
+ newins VGABIOS-lgpl-latest.qxl.bin vgabios.qxl.bin
+ use debug && newins VGABIOS-lgpl-latest.qxl.debug.bin vgabios.qxl.debug.bin
+
+ # Standard VGA
+ newins VGABIOS-lgpl-latest.stdvga.bin vgabios.stdvga.bin
+ use debug && newins VGABIOS-lgpl-latest.stdvga.debug.bin \
+ vgabios.stdvga.debug.bin
+
+ # VMWare
+ newins VGABIOS-lgpl-latest.vmware.bin vgabios.vmware.bin
+ use debug && newins VGABIOS-lgpl-latest.vmware.debug.bin \
+ vgabios.vmware.debug.bin
+}
+