summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-30 22:42:53 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-30 22:42:53 +0000
commitfca248bca86261f6eaf9f4f26cda5ef2ef38faec (patch)
treeb4917fe5b519cd13b77bd588effde2b75affa11d /dev-libs
parentNew package, fixes bug 310559 (diff)
downloadgentoo-2-fca248bca86261f6eaf9f4f26cda5ef2ef38faec.tar.gz
gentoo-2-fca248bca86261f6eaf9f4f26cda5ef2ef38faec.tar.bz2
gentoo-2-fca248bca86261f6eaf9f4f26cda5ef2ef38faec.zip
Initial commit. Used by hwinfo >= 18.1.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libx86emu/ChangeLog9
-rw-r--r--dev-libs/libx86emu/libx86emu-1.1.ebuild30
-rw-r--r--dev-libs/libx86emu/metadata.xml9
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libx86emu/ChangeLog b/dev-libs/libx86emu/ChangeLog
new file mode 100644
index 000000000000..8bbf25c354e4
--- /dev/null
+++ b/dev-libs/libx86emu/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-libs/libx86emu
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libx86emu/ChangeLog,v 1.1 2010/09/30 22:42:53 ssuominen Exp $
+
+*libx86emu-1.1 (30 Sep 2010)
+
+ 30 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> +libx86emu-1.1.ebuild:
+ Initial commit. Used by hwinfo >= 18.1.
+
diff --git a/dev-libs/libx86emu/libx86emu-1.1.ebuild b/dev-libs/libx86emu/libx86emu-1.1.ebuild
new file mode 100644
index 000000000000..27d79fb7dc37
--- /dev/null
+++ b/dev-libs/libx86emu/libx86emu-1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libx86emu/libx86emu-1.1.ebuild,v 1.1 2010/09/30 22:42:53 ssuominen Exp $
+
+EAPI=2
+inherit multilib rpm toolchain-funcs
+
+DESCRIPTION="A library for emulating x86"
+HOMEPAGE="http://www.opensuse.org/"
+SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-9.8.src.rpm"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i \
+ -e 's:$(CC) -shared:& $(LDFLAGS):' \
+ Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -fPIC -Wall" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die
+ dodoc Changelog README
+}
diff --git a/dev-libs/libx86emu/metadata.xml b/dev-libs/libx86emu/metadata.xml
new file mode 100644
index 000000000000..7cc5007c5d79
--- /dev/null
+++ b/dev-libs/libx86emu/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>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>