diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-09-17 13:03:56 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-09-17 13:03:56 +0000 |
commit | 999602e27602901cb20dc182822f5d0a24dbca68 (patch) | |
tree | 530c71eab759fea29bd36e31b9b88e0a5d471dcb /dev-libs/libx86 | |
parent | Fix icon, bug #192426, thanks to Pacho Ramos <pacho at condmat1 dot ciencias ... (diff) | |
download | historical-999602e27602901cb20dc182822f5d0a24dbca68.tar.gz historical-999602e27602901cb20dc182822f5d0a24dbca68.tar.bz2 historical-999602e27602901cb20dc182822f5d0a24dbca68.zip |
Initial add, bug#156431
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-libs/libx86')
-rw-r--r-- | dev-libs/libx86/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libx86/files/digest-libx86-0.99 | 3 | ||||
-rw-r--r-- | dev-libs/libx86/files/libx86-0.99-build.patch | 16 | ||||
-rw-r--r-- | dev-libs/libx86/libx86-0.99.ebuild | 35 | ||||
-rw-r--r-- | dev-libs/libx86/metadata.xml | 9 |
5 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/libx86/ChangeLog b/dev-libs/libx86/ChangeLog new file mode 100644 index 000000000000..9d9e56400e5e --- /dev/null +++ b/dev-libs/libx86/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/libx86 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libx86/ChangeLog,v 1.1 2007/09/17 13:03:55 alonbl Exp $ + +*libx86-0.99 (17 Sep 2007) + + 17 Sep 2007; Alon Bar-Lev <alonbl@gentoo.org> + +files/libx86-0.99-build.patch, +metadata.xml, +libx86-0.99.ebuild: + Initial add, bug#156431 + diff --git a/dev-libs/libx86/files/digest-libx86-0.99 b/dev-libs/libx86/files/digest-libx86-0.99 new file mode 100644 index 000000000000..66a0b01366d2 --- /dev/null +++ b/dev-libs/libx86/files/digest-libx86-0.99 @@ -0,0 +1,3 @@ +MD5 c426d4f29fdf3499158cf49d4f374315 libx86-0.99.tar.gz 100534 +RMD160 099b4a24842dde578078108ddc7e431402e31727 libx86-0.99.tar.gz 100534 +SHA256 fdaac661dab2845beb5546e43e71ee02d9bf3c04bc623b64e0b124f1da26f546 libx86-0.99.tar.gz 100534 diff --git a/dev-libs/libx86/files/libx86-0.99-build.patch b/dev-libs/libx86/files/libx86-0.99-build.patch new file mode 100644 index 000000000000..c16156638369 --- /dev/null +++ b/dev-libs/libx86/files/libx86-0.99-build.patch @@ -0,0 +1,16 @@ +--- Makefile.org 2007-09-14 01:04:56.000000000 +0300 ++++ Makefile 2007-09-14 01:06:07.000000000 +0300 +@@ -1,5 +1,5 @@ + OBJECTS = x86-common.o +-CFLAGS = -O2 -Wall -DDEBUG -g ++CFLAGS ?= -O2 -Wall -DDEBUG -g + + ifeq ($(BACKEND), x86emu) + OBJECTS += thunk.o x86emu/decode.o x86emu/debug.o x86emu/fpu.o \ +@@ -33,5 +33,5 @@ clean: objclean + install: libx86.so.1 + install -D libx86.so.1 $(DESTDIR)/usr/lib/libx86.so.1 + install -D libx86.a $(DESTDIR)/usr/lib/libx86.a +- ln -sf /usr/lib/libx86.so.1 $(DESTDIR)/usr/lib/libx86.so ++ ln -sf libx86.so.1 $(DESTDIR)/usr/lib/libx86.so + install -D lrmi.h $(DESTDIR)/usr/include/libx86.h diff --git a/dev-libs/libx86/libx86-0.99.ebuild b/dev-libs/libx86/libx86-0.99.ebuild new file mode 100644 index 000000000000..7082e6fdda20 --- /dev/null +++ b/dev-libs/libx86/libx86-0.99.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libx86/libx86-0.99.ebuild,v 1.1 2007/09/17 13:03:55 alonbl Exp $ + +inherit eutils + +DESCRIPTION="A hardware-independent library for executing real-mode x86 code" +HOMEPAGE="http://www.codon.org.uk/~mjg59/libx86" +SRC_URI="http://www.codon.org.uk/~mjg59/libx86/downloads/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-build.patch" +} + +src_compile() { + local ARGS + if use amd64; then + ARGS="BACKEND=x86emu" + fi + emake ${ARGS} +} + +src_install() { + emake install DESTDIR="${D}" +} diff --git a/dev-libs/libx86/metadata.xml b/dev-libs/libx86/metadata.xml new file mode 100644 index 000000000000..f1ad714652ea --- /dev/null +++ b/dev-libs/libx86/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>alon@gentoo.org</email> +<name>Alon Bar-Lev</name> +</maintainer> +</pkgmetadata> |