diff options
author | 2007-12-28 14:42:33 +0000 | |
---|---|---|
committer | 2007-12-28 14:42:33 +0000 | |
commit | 3c9c828bda4cd35ba67b396648b84315b15af18a (patch) | |
tree | 27942f708956a3018bd3d0fc693241200154c07f /sys-apps/v86d | |
parent | Add the x86emu USE flag for sys-apps/v86d. (diff) | |
download | gentoo-2-3c9c828bda4cd35ba67b396648b84315b15af18a.tar.gz gentoo-2-3c9c828bda4cd35ba67b396648b84315b15af18a.tar.bz2 gentoo-2-3c9c828bda4cd35ba67b396648b84315b15af18a.zip |
Add the 'x86emu' USE flag to make it possible to fix problems similar to the ones described in bug #196848.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'sys-apps/v86d')
-rw-r--r-- | sys-apps/v86d/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/v86d/files/digest-v86d-0.1.3-r1 | 3 | ||||
-rw-r--r-- | sys-apps/v86d/v86d-0.1.3-r1.ebuild | 52 |
3 files changed, 62 insertions, 1 deletions
diff --git a/sys-apps/v86d/ChangeLog b/sys-apps/v86d/ChangeLog index 59bc85db4054..62551d881705 100644 --- a/sys-apps/v86d/ChangeLog +++ b/sys-apps/v86d/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/v86d # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/v86d/ChangeLog,v 1.9 2007/12/05 22:36:08 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/v86d/ChangeLog,v 1.10 2007/12/28 14:42:32 spock Exp $ + +*v86d-0.1.3-r1 (28 Dec 2007) + + 28 Dec 2007; Michał Januszewski <spock@gentoo.org> +v86d-0.1.3-r1.ebuild: + Add the 'x86emu' USE flag to make it possible to fix problems similar to the + ones described in #196848. 05 Dec 2007; Christoph Mende <angelos@gentoo.org> v86d-0.1.3.ebuild: Stable on amd64 wrt bug #200994 diff --git a/sys-apps/v86d/files/digest-v86d-0.1.3-r1 b/sys-apps/v86d/files/digest-v86d-0.1.3-r1 new file mode 100644 index 000000000000..9cd95c2e21d2 --- /dev/null +++ b/sys-apps/v86d/files/digest-v86d-0.1.3-r1 @@ -0,0 +1,3 @@ +MD5 1c26f40af343bcc465f5832e2c9548d6 v86d-0.1.3.tar.bz2 67044 +RMD160 717aa7b043979bc9aa3fd702bd656fa9c473dcd8 v86d-0.1.3.tar.bz2 67044 +SHA256 bf0ca221bc5e8a6b06f73a1eb6ae1470ec5b34b987669f7abeb499e6402af3b0 v86d-0.1.3.tar.bz2 67044 diff --git a/sys-apps/v86d/v86d-0.1.3-r1.ebuild b/sys-apps/v86d/v86d-0.1.3-r1.ebuild new file mode 100644 index 000000000000..3a131fc74fb2 --- /dev/null +++ b/sys-apps/v86d/v86d-0.1.3-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/v86d/v86d-0.1.3-r1.ebuild,v 1.1 2007/12/28 14:42:32 spock Exp $ + +inherit linux-info + +DESCRIPTION="A daemon to run x86 code in an emulated environment." +HOMEPAGE="http://dev.gentoo.org/~spock/projects/uvesafb/" +SRC_URI="http://dev.gentoo.org/~spock/projects/uvesafb/archive/${P/_/-}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug x86emu" + +DEPEND="dev-libs/klibc" +RDEPEND="" + +S="${WORKDIR}/${P//_*/}" + +pkg_setup() { + if [ -z "$(grep V86D /usr/lib/klibc/include/linux/connector.h)" ]; then + eerror "You need to compile klibc against a kernel tree patched with uvesafb" + eerror "prior to merging this package." + die "Kernel not patched with uvesafb." + fi + linux-info_pkg_setup +} + +src_compile() { + local myconf="" + if use x86emu ; then + myconf="--with-x86emu" + fi + + ./configure --with-klibc $(use_with debug) ${myconf} + make KDIR=${KV_DIR} || die +} + +src_install() { + make DESTDIR="${D}" install || die + + dodoc README ChangeLog + + insinto /usr/share/${PN} + doins misc/initramfs +} + +pkg_postinst() { + elog "If you wish to place v86d into an initramfs image, you might want to use" + elog "'/usr/share/${PN}/initramfs' in your kernel's CONFIG_INITRAMFS_SOURCE." +} |