diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-02-04 15:23:37 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-02-04 15:23:37 +0000 |
commit | 753385e6a8bba6398c454bb939fb8c8e21766ccd (patch) | |
tree | b81dd1a243bb7cf3e1c7c15a6d92435266ec1f04 /dev-libs/distorm64 | |
parent | Bump to 8.72, fixes #213596, dep added for #178476 (diff) | |
download | historical-753385e6a8bba6398c454bb939fb8c8e21766ccd.tar.gz historical-753385e6a8bba6398c454bb939fb8c8e21766ccd.tar.bz2 historical-753385e6a8bba6398c454bb939fb8c8e21766ccd.zip |
Build disasm tool, fixes #257620
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/distorm64')
-rw-r--r-- | dev-libs/distorm64/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/distorm64/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/distorm64/distorm64-1.7.30-r1.ebuild | 61 |
3 files changed, 70 insertions, 2 deletions
diff --git a/dev-libs/distorm64/ChangeLog b/dev-libs/distorm64/ChangeLog index 1bf9bd3b4bfc..9cd334840736 100644 --- a/dev-libs/distorm64/ChangeLog +++ b/dev-libs/distorm64/ChangeLog @@ -1,6 +1,12 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/distorm64/ChangeLog,v 1.2 2009/02/04 15:23:37 patrick Exp $ + +*distorm64-1.7.30-r1 (04 Feb 2009) + + 04 Feb 2009; Patrick Lauer <patrick@gentoo.org> + +distorm64-1.7.30-r1.ebuild: + Build disasm tool, fixes #257620 *distorm64-1.7.30 (03 Feb 2009) diff --git a/dev-libs/distorm64/Manifest b/dev-libs/distorm64/Manifest index 61cb9f01b6d9..ad8321833d6f 100644 --- a/dev-libs/distorm64/Manifest +++ b/dev-libs/distorm64/Manifest @@ -1,4 +1,5 @@ DIST distorm64-pkg1.7.30.tar.bz2 91976 RMD160 34150563401044d98f986f2fea82faeeceb24ab9 SHA1 6948457695b11a4c2190012435da750898bb2c85 SHA256 bc2fc90e2111dfbba7fa397725ed6ae8b70477a3f7c60995e73d44a778a751be +EBUILD distorm64-1.7.30-r1.ebuild 1443 RMD160 a114d6b9ce05a9cf2dcbc8b5ceaab8a4718f94ee SHA1 dfb09cf67dbc8c326cfe3d8985de452c68f7ec4a SHA256 a061f339e4a586e6890dab5da6780506a341b122546d2e72c5e98880ca5afae2 EBUILD distorm64-1.7.30.ebuild 1338 RMD160 7001c533105f4a355719a047a55e1b7bbccf44d0 SHA1 865f0f5c26aa69c6c59e7e578528accc1f8d227b SHA256 361b098487ee20a4ba5e9a1255403beb417e279526193950e410cf056dc08678 -MISC ChangeLog 404 RMD160 af46ca06de401f43c3d5d0a045ba36488ea0862e SHA1 c4cb43a7e1cb9f192ae5033479a07e18901099cc SHA256 0054187b7cf0054e75406be13abad6111e60401239837ab89bef5082505321f7 +MISC ChangeLog 557 RMD160 383deb61a31cba66d0d0b4c52362dc6a6a23939c SHA1 785e4d78a16eb4183ac9e7003cc7a302f5778d77 SHA256 4aacc8d183a9f845376689b784102a5c6216831dd6ca25186b96794f9337932c MISC metadata.xml 296 RMD160 b8972abc6a10b49a6afb29c2fcb1e0dc3b4753b2 SHA1 f8e6300e113aa10f75cf7bf334c24070e2eb5ccf SHA256 711cad846b67b387cac3e2dd0b719054f44f422274c36ddb4eb49603a1b488fc diff --git a/dev-libs/distorm64/distorm64-1.7.30-r1.ebuild b/dev-libs/distorm64/distorm64-1.7.30-r1.ebuild new file mode 100644 index 000000000000..bb34cda3c350 --- /dev/null +++ b/dev-libs/distorm64/distorm64-1.7.30-r1.ebuild @@ -0,0 +1,61 @@ +# 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-r1.ebuild,v 1.1 2009/02/04 15:23:37 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 + + cd "${WORKDIR}/${PN}/linuxproj" + emake disasm || die "make disasm failed!" + +} + +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 + + dobin linuxproj/disasm + + mkdir -p "${D}usr/include" + install distorm.h "${D}usr/include/" || die "Unable to install distorm.h" +} |