diff options
author | 2016-06-04 12:29:28 +0100 | |
---|---|---|
committer | 2016-06-04 12:30:09 +0100 | |
commit | cbd85e155aedfd660c283da4abc00887b6044d45 (patch) | |
tree | a062594a92485f1c8ae71b0f42abca98f9dc091f /dev-libs | |
parent | dev-libs/distorm64: bump up to 3.3.3 (diff) | |
download | gentoo-cbd85e155aedfd660c283da4abc00887b6044d45.tar.gz gentoo-cbd85e155aedfd660c283da4abc00887b6044d45.tar.bz2 gentoo-cbd85e155aedfd660c283da4abc00887b6044d45.zip |
dev-libs/distorm64: drop old
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/distorm64/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/distorm64/distorm64-1.7.30-r1.ebuild | 70 | ||||
-rw-r--r-- | dev-libs/distorm64/distorm64-3.1.ebuild | 33 | ||||
-rw-r--r-- | dev-libs/distorm64/distorm64-3.3.ebuild | 36 | ||||
-rw-r--r-- | dev-libs/distorm64/files/distorm64-1.7.30-python.patch | 11 | ||||
-rw-r--r-- | dev-libs/distorm64/files/distorm64-1.7.30-respect_flags.patch | 42 |
6 files changed, 0 insertions, 194 deletions
diff --git a/dev-libs/distorm64/Manifest b/dev-libs/distorm64/Manifest index 3171bf67caf9..f3f4c397b192 100644 --- a/dev-libs/distorm64/Manifest +++ b/dev-libs/distorm64/Manifest @@ -1,4 +1,2 @@ DIST distorm-3.3.3.tar.gz 220254 SHA256 a99d49f111c1ae889c4368eaa11feed9d3d2cfd451081f8f3ddc90138eb045ab SHA512 abc37d050efcb7fd7c6e0f1ef055537f06059528fb48a07d159621adca8d905ee3a44b394d75e10aa69f2429fb1023e9282b349281acb3a9474148f195306fbf WHIRLPOOL d58924e2a7626d122abdff1823c25080cd98b7bedffc14865e84314d5f035fa24ff48dc7f3d5318bfc183ba22999453c79a4b76bc6a3b26d8e35ffbc52da8f7d -DIST distorm3-1.0.zip 137505 SHA256 f381d0ddabed04ee9161633d3eb3c0bdb87100accd9b669385d4d72b36931f69 SHA512 56e9640b8f140ab9cf9cbacd205b7caf21a84ad698c1b1b3cf93194c986e4de107e056929742301ee7491c5e9bf75784d712740a2fadec084952ca5382fb7e24 WHIRLPOOL 95d4b4fa4a31c6f7fa101fd2f807c89eb87ff6d1a5cb150e14198e655c54acb77caf13a7ad12ba0abea59e0be17f6ca6d04bd0a70c572bd807d436013c4bbaf3 DIST distorm3-3-sdist.zip 143096 SHA256 a4794af34bc71b1efebf155ff046b236af6b218c11c01127e63bdca340d43abe SHA512 a00a24af997d22c905ba7a311c7f7a4345458888163225266bf3f7f8449b12fa7089ad9154cbfa65ed2f9ffe1002b4475de812778792250bd714cb69c41f5eb9 WHIRLPOOL bd2226394ed25fac93876ae5c7a0f5a073fccb056aa4e9b9bcdd06b2f9414954a0e4c5b94ca254637f648177282fe928f54f16368fd28dab644fe27c1c9f87e7 -DIST distorm64-pkg1.7.30.tar.bz2 91976 SHA256 bc2fc90e2111dfbba7fa397725ed6ae8b70477a3f7c60995e73d44a778a751be SHA512 d5890a3c295a81d6b59eabc14bbf2cdb8686f7675bae993ab2ec7a4d6957ab3a700776c75e58443db78c6cb29b9aaa287d4eac6c35bec68d444d3dbd5fba03c8 WHIRLPOOL 1f8c0f4bcf54ad1cb0b5460c11e031711d6c1d3db60b3c003d2d2ace1dae3c2b92f4e93ca20d119ffc34a41f6c902b1970229038b4e2518e20f18d980cc29082 diff --git a/dev-libs/distorm64/distorm64-1.7.30-r1.ebuild b/dev-libs/distorm64/distorm64-1.7.30-r1.ebuild deleted file mode 100644 index b64a51de726c..000000000000 --- a/dev-libs/distorm64/distorm64-1.7.30-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -inherit eutils flag-o-matic python toolchain-funcs - -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="~amd64 ~x86" -IUSE="+python" - -DEPEND="python? ( >=dev-lang/python-2.4 )" -RDEPEND="${DEPEND}" -RESTRICT_PYTHON_ABIS="3.*" - -S="${WORKDIR}/${PN}" - -src_prepare() { - epatch "${FILESDIR}/${P}-python.patch" - epatch "${FILESDIR}/${P}-respect_flags.patch" -} - -src_compile() { - cd "${WORKDIR}/${PN}/build/linux" - emake CC="$(tc-getCC)" clib || die "emake clib failed" - - if use python; then - building() { - # Build ../../src/pydistorm.o separately with each enabled version of Python. - rm -f ../../src/pydistorm.o - - # Additional CFLAGS retrieved from build/linux/Makefile. - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -I$(python_get_includedir) -Wall -fPIC -DSUPPORT_64BIT_OFFSET -D_DLL" TARGET="distorm.so-${PYTHON_ABI}" py - } - python_execute_function building - fi - - cd "${WORKDIR}/${PN}/linuxproj" - emake CC="$(tc-getCC)" disasm || die "emake disasm failed" - -} - -src_install() { - cd "${WORKDIR}/${PN}/build/linux" - - dolib.so libdistorm64.so - - if use python; then - installation() { - dodir "$(python_get_sitedir)" - install distorm.so-${PYTHON_ABI} "${D}$(python_get_sitedir)/distorm.so" - } - python_execute_function -q installation - fi - - cd "${WORKDIR}/${PN}" - newlib.a distorm64.a libdistorm64.a - - dobin linuxproj/disasm - - dodir "/usr/include" - install distorm.h "${D}usr/include/" || die "Unable to install distorm.h" -} diff --git a/dev-libs/distorm64/distorm64-3.1.ebuild b/dev-libs/distorm64/distorm64-3.1.ebuild deleted file mode 100644 index a35940460c07..000000000000 --- a/dev-libs/distorm64/distorm64-3.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* 2.5" - -inherit eutils distutils python - -DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)" -HOMEPAGE="http://www.ragestorm.net/distorm/" - -# This is not nice - hardcoding is bad -SRC_URI="https://distorm.googlecode.com/files/distorm3-1.0.zip" -S="${WORKDIR}/distorm3-1.0" - -DEPEND="app-arch/unzip" -RDEPEND="" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -pkg_setup() { - python_pkg_setup -} - -src_compile() { - distutils_src_compile -} diff --git a/dev-libs/distorm64/distorm64-3.3.ebuild b/dev-libs/distorm64/distorm64-3.3.ebuild deleted file mode 100644 index 17b85e62c73d..000000000000 --- a/dev-libs/distorm64/distorm64-3.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* 2.5" - -inherit eutils distutils python versionator - -DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)" -HOMEPAGE="http://www.ragestorm.net/distorm/" - -MY_PN=distorm -MY_PV=$(replace_all_version_separators '-') -MY_P=${MY_PN}${MY_PV} - -SRC_URI="https://distorm.googlecode.com/files/${MY_P}-sdist.zip" -S="${WORKDIR}/${MY_P}" - -DEPEND="app-arch/unzip" -RDEPEND="" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -pkg_setup() { - python_pkg_setup -} - -src_compile() { - distutils_src_compile -} diff --git a/dev-libs/distorm64/files/distorm64-1.7.30-python.patch b/dev-libs/distorm64/files/distorm64-1.7.30-python.patch deleted file mode 100644 index 15d82f2215d7..000000000000 --- a/dev-libs/distorm64/files/distorm64-1.7.30-python.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/pydistorm.h -+++ src/pydistorm.h -@@ -22,7 +22,7 @@ - #include "decoder.h"
-
- #ifdef __GNUC__
-- #include <python2.5/Python.h>
-+ #include <Python.h>
- #elif _MSC_VER
- #include <python.h>
- #endif
diff --git a/dev-libs/distorm64/files/distorm64-1.7.30-respect_flags.patch b/dev-libs/distorm64/files/distorm64-1.7.30-respect_flags.patch deleted file mode 100644 index 0af2da2f7a9b..000000000000 --- a/dev-libs/distorm64/files/distorm64-1.7.30-respect_flags.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- build/linux/Makefile -+++ build/linux/Makefile -@@ -6,7 +6,7 @@ - COBJS = ../../src/x86defs.o ../../src/wstring.o ../../src/textdefs.o ../../src/prefix.o ../../src/operands.o ../../src/insts.o ../../src/instructions.o ../../src/distorm.o ../../src/decoder.o - PYOBJS = ../../src/x86defs.o ../../src/wstring.o ../../src/textdefs.o ../../src/pydistorm.o ../../src/prefix.o ../../src/operands.o ../../src/insts.o ../../src/instructions.o ../../src/decoder.o - CC = gcc --CFLAGS = -O2 -Wall -fPIC -DSUPPORT_64BIT_OFFSET -D_DLL -+CFLAGS += -Wall -fPIC -DSUPPORT_64BIT_OFFSET -D_DLL - - all: clib py - -@@ -14,11 +14,11 @@ - /bin/rm -rf ../../src/*.o ${TARGET} ../../distorm64.a - - clib: ${COBJS} -- ${CC} ${CFLAGS} ${VERSION} ${COBJS} -fPIC -shared -o ${TARGET} -+ ${CC} ${LDFLAGS} ${VERSION} ${COBJS} -fPIC -shared -o ${TARGET} - ar rs ../../distorm64.a ${COBJS} - - py: ${PYOBJS} -- ${CC} ${CFLAGS} ${VERSION} ${PYOBJS} -fPIC -shared -o ${TARGET} -+ ${CC} ${LDFLAGS} ${VERSION} ${PYOBJS} -fPIC -shared -o ${TARGET} - - install: libdistorm64.so - install -s ${TARGET} /usr/local/lib ---- linuxproj/Makefile -+++ linuxproj/Makefile -@@ -4,12 +4,12 @@ - - TARGET = disasm - CC = gcc --CFLAGS = -Wall -O2 -I. -o -+CFLAGS += -Wall -I. - - all: disasm - - disasm: -- ${CC} ${CFLAGS} ${TARGET} main.c ../distorm64.a -+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${TARGET} main.c ../distorm64.a - - clean: - /bin/rm -rf *.o ${TARGET} |