summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-03 23:12:38 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-03 23:12:38 +0000
commit07aa2dc425c4265c8c892bb6425a86d693e608c5 (patch)
tree1ec7fd727975702ad7ef91066b774a39a06e8aaa /dev-libs/distorm64
parentwhitespace (diff)
downloadhistorical-07aa2dc425c4265c8c892bb6425a86d693e608c5.tar.gz
historical-07aa2dc425c4265c8c892bb6425a86d693e608c5.tar.bz2
historical-07aa2dc425c4265c8c892bb6425a86d693e608c5.zip
Initial import. Ebuild from Tuna <tuna@lyua.org>. Closes #201148
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/distorm64')
-rw-r--r--dev-libs/distorm64/ChangeLog10
-rw-r--r--dev-libs/distorm64/Manifest4
-rw-r--r--dev-libs/distorm64/distorm64-1.7.30.ebuild56
-rw-r--r--dev-libs/distorm64/metadata.xml10
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-libs/distorm64/ChangeLog b/dev-libs/distorm64/ChangeLog
new file mode 100644
index 000000000000..1bf9bd3b4bfc
--- /dev/null
+++ b/dev-libs/distorm64/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/distorm64
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/distorm64/ChangeLog,v 1.1 2009/02/03 23:12:38 patrick Exp $
+
+*distorm64-1.7.30 (03 Feb 2009)
+
+ 03 Feb 2009; Patrick Lauer <patrick@gentoo.org> +metadata.xml,
+ +distorm64-1.7.30.ebuild:
+ Initial import. Ebuild from Tuna <tuna@lyua.org>. Closes #201148
+
diff --git a/dev-libs/distorm64/Manifest b/dev-libs/distorm64/Manifest
new file mode 100644
index 000000000000..61cb9f01b6d9
--- /dev/null
+++ b/dev-libs/distorm64/Manifest
@@ -0,0 +1,4 @@
+DIST distorm64-pkg1.7.30.tar.bz2 91976 RMD160 34150563401044d98f986f2fea82faeeceb24ab9 SHA1 6948457695b11a4c2190012435da750898bb2c85 SHA256 bc2fc90e2111dfbba7fa397725ed6ae8b70477a3f7c60995e73d44a778a751be
+EBUILD distorm64-1.7.30.ebuild 1338 RMD160 7001c533105f4a355719a047a55e1b7bbccf44d0 SHA1 865f0f5c26aa69c6c59e7e578528accc1f8d227b SHA256 361b098487ee20a4ba5e9a1255403beb417e279526193950e410cf056dc08678
+MISC ChangeLog 404 RMD160 af46ca06de401f43c3d5d0a045ba36488ea0862e SHA1 c4cb43a7e1cb9f192ae5033479a07e18901099cc SHA256 0054187b7cf0054e75406be13abad6111e60401239837ab89bef5082505321f7
+MISC metadata.xml 296 RMD160 b8972abc6a10b49a6afb29c2fcb1e0dc3b4753b2 SHA1 f8e6300e113aa10f75cf7bf334c24070e2eb5ccf SHA256 711cad846b67b387cac3e2dd0b719054f44f422274c36ddb4eb49603a1b488fc
diff --git a/dev-libs/distorm64/distorm64-1.7.30.ebuild b/dev-libs/distorm64/distorm64-1.7.30.ebuild
new file mode 100644
index 000000000000..5988e93c11a1
--- /dev/null
+++ b/dev-libs/distorm64/distorm64-1.7.30.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/distorm64/distorm64-1.7.30.ebuild,v 1.1 2009/02/03 23:12:38 patrick Exp $
+
+EAPI="1"
+
+inherit eutils
+
+DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)"
+HOMEPAGE="http://www.ragestorm.net/distorm/"
+SRC_URI="http://ragestorm.net/distorm/${PN}-pkg${PV}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="+python"
+
+DEPEND="python? ( >=dev-lang/python-2.4 )"
+RDEPEND="$DEPEND"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ cd "${WORKDIR}/${PN}/build/linux"
+
+ emake clib || die "make clib failed!"
+
+ if use python; then
+ emake py || die "make py failed!"
+ fi
+}
+
+src_install() {
+ cd "${WORKDIR}/${PN}/build/linux"
+
+ dolib.so libdistorm64.so
+
+ if use python; then
+ if has_version ">=dev-lang/python-2.5"; then
+ mkdir -p "${D}usr/lib/python2.5/site-packages/"
+ install libdistorm64.so "${D}usr/lib/python2.5/site-packages/distorm.so"
+ else
+ mkdir -p "${D}usr/lib/python2.4/site-packages/"
+ install libdistorm64.so "${D}usr/lib/python2.4/site-packages/distorm.o"
+ fi
+ fi
+
+ cd "${WORKDIR}/${PN}/"
+ mv distorm64.a libdistorm64.a
+ dolib.a libdistorm64.a
+
+ mkdir -p "${D}usr/include"
+ install distorm.h "${D}usr/include/" || die "Unable to install distorm.h"
+}
diff --git a/dev-libs/distorm64/metadata.xml b/dev-libs/distorm64/metadata.xml
new file mode 100644
index 000000000000..cd97b6c27c1d
--- /dev/null
+++ b/dev-libs/distorm64/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ <description>Maintainer</description>
+</maintainer>
+</pkgmetadata>