summaryrefslogtreecommitdiff
path: root/sys-apps/vbetool
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/vbetool')
-rw-r--r--sys-apps/vbetool/Manifest6
-rw-r--r--sys-apps/vbetool/files/vbetool-1.0-build.patch18
-rw-r--r--sys-apps/vbetool/metadata.xml11
-rw-r--r--sys-apps/vbetool/vbetool-1.1.ebuild30
4 files changed, 65 insertions, 0 deletions
diff --git a/sys-apps/vbetool/Manifest b/sys-apps/vbetool/Manifest
new file mode 100644
index 000000000000..80c93616c88f
--- /dev/null
+++ b/sys-apps/vbetool/Manifest
@@ -0,0 +1,6 @@
+AUX vbetool-1.0-build.patch 537 SHA256 48583507d03f140a185573b249abe1eefbd085e70c67f8ceb10327badb86deee SHA512 1b9b1b7471f09ec6dac8f535df1ea6bf09f8824f58c025b92e3e5d3e451a56e750e93836d03ee37e20f14868a9b75e97c548add36256412dfc154530c7a4be12 WHIRLPOOL de212f73ace796cb11f3eef2de25b70c74e7826ce101244159fec87b4bba321db2665d74240c79b8f1c8f5432f937ac547aa4dc687bf61e015e8dc369a28d47b
+DIST vbetool-1.1.tar.gz 182826 SHA256 4d26ddc43144593742349e69481e3536ce3482faaa9ad4494fdc7c8b7662f954 SHA512 09d8713516f074fe8e901ab3e24aba7e8b9ddf459b3ee3394b7604e4489a70a27c6dc3604cf1284c49233dba908f00da746c583562af2bc93b6df8ff413efd96 WHIRLPOOL 9b6d6b616c0b074e49c80291e48e2c951e83a2981780cf942ca535f2909e7e83a0d7cf1f9efdc6cea779a5db688635bb7a3740c3bd77a80a268776dea9b1d147
+EBUILD vbetool-1.1.ebuild 666 SHA256 fa39e9f9aa2ba62b28719d212797198298be865dcd05828fda2d660fb3516710 SHA512 95469f6822c95e15d225c263f7ded56eebb186509f89b27bd01a57990f4f621bb5eef5c97be4e8f0b7c1fec13b7cf9547ecd146ed8368f21b4a8af648ed1a2f5 WHIRLPOOL 8ec733369199dc6695a622be7d60c170ce7f42885df5f711e08cdef8b1ee880ff25b5ff08b6459ca663fd9ccd68c7df3b8ae0df0ccdc6fc9bb2919dee3553ea1
+MISC ChangeLog 2455 SHA256 5145d2bf445a0c62b73adb4c540376c8ececccb45a16ab19de9a17c0400d48bd SHA512 683da704609214e7779f2eec2ffb0527efff9c3b04c0d0cca09a121e0e9a6246a3c29d6f17b478d244fa61e418935d3809714f1a944ca9735171e26fc663ebb4 WHIRLPOOL 23d9460d772fca0ce18e6fd30e416737aaed210b895ab1f6e055767b18d9eb102d1373490968fea27e487360f41678489f1d62ed36c9d79e3f45e3231cd33e23
+MISC ChangeLog-2015 3520 SHA256 d39c08aaf1650d30deeaf924fddfe214f40e5ca0aa24f39f0617c04406067665 SHA512 8f1b3a684d0835677fab412f6099b32f928498072fdf2d397ddddc52d96ce88111c21b96af4e8e41d36ca639f16c8225d55c4012beccc44f8be6fc3f66f001e2 WHIRLPOOL ea11bb3f9ba50e150d9674f87f774e5c17aefe213dc1d69bcf3178ff265bf645420193ebb4c28d7abded9f6f6e57cb773e43935dd79954c467d033d1acfd2828
+MISC metadata.xml 309 SHA256 32e8cac3c6e0c3492c329fd33ab9ccec4ac49953a8791500a6c71805ab588404 SHA512 9068ab08a41974b1d807c0beb90e289c9fe22e70299c164d65d0a3e051a46964b91d77b5045df9f0dfdc7f23e1ee6d918819456f27b878890e343c86280b422c WHIRLPOOL 6dc68013efabd8fcb45a8d0f629245b91d53d76d8605fc537cd4305eb3fd06b875c47c863754cef17188c3dc949a78a7d1c0a6594c22bf3ccdb0de7b310290dd
diff --git a/sys-apps/vbetool/files/vbetool-1.0-build.patch b/sys-apps/vbetool/files/vbetool-1.0-build.patch
new file mode 100644
index 000000000000..69d2f7b341ba
--- /dev/null
+++ b/sys-apps/vbetool/files/vbetool-1.0-build.patch
@@ -0,0 +1,18 @@
+Index: vbetool-1.0/Makefile.am
+===================================================================
+--- vbetool-1.0.orig/Makefile.am
++++ vbetool-1.0/Makefile.am
+@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign
+
+ sbin_PROGRAMS = vbetool
+
+-vbetool_LDADD = $(libdir)/libpci.a
++vbetool_LDADD = -lpci -lz -lx86
+
+ man_MANS = vbetool.1
+ vbetool_SOURCES = vbetool.c $(x86)
+@@ -14,4 +14,3 @@ maintainer-clean-local:
+ $(RM) Makefile.in aclocal.m4 config.h.in stamp-h.in configure
+
+ AM_CFLAGS = -g -Wall -pedantic -std=gnu99
+-AM_LDFLAGS = -lz -lx86
diff --git a/sys-apps/vbetool/metadata.xml b/sys-apps/vbetool/metadata.xml
new file mode 100644
index 000000000000..a6ab4e944256
--- /dev/null
+++ b/sys-apps/vbetool/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-apps/vbetool/vbetool-1.1.ebuild b/sys-apps/vbetool/vbetool-1.1.ebuild
new file mode 100644
index 000000000000..0640554581a9
--- /dev/null
+++ b/sys-apps/vbetool/vbetool-1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils autotools
+
+DESCRIPTION="Run real-mode video BIOS code to alter hardware state (i.e. reinitialize video card)"
+HOMEPAGE="http://www.codon.org.uk/~mjg59/vbetool/"
+SRC_URI="http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-1.1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ sys-apps/pciutils
+ >=dev-libs/libx86-1.1-r1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0-build.patch
+ eaclocal # temp fix for #439614
+ eautoreconf
+}
+
+src_configure() {
+ econf --with-x86emu
+}