mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 13:51:00 +02:00
distorm: removed, distorm64 is in portage
This commit is contained in:
parent
28a5e1869e
commit
effd506629
2 changed files with 0 additions and 55 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DIST distorm64-pkg1.7.30.tar.bz2 91976 RMD160 34150563401044d98f986f2fea82faeeceb24ab9 SHA1 6948457695b11a4c2190012435da750898bb2c85 SHA256 bc2fc90e2111dfbba7fa397725ed6ae8b70477a3f7c60995e73d44a778a751be
|
||||
EBUILD distorm-1.7.30.ebuild 1211 RMD160 2e4117b54e0a924066ad3a67ae58fd8e5f1da312 SHA1 e945b8a764136d41fc9b6313519776ee21b68f24 SHA256 ffbc636104e2a65c22f2d1c0045f5008abe0c311a530636b9fe332803b3c8b1a
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)"
|
||||
HOMEPAGE="http://www.ragestorm.net/distorm/"
|
||||
SRC_URI="http://ragestorm.net/distorm/${PN}64-pkg${PV}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="python"
|
||||
|
||||
DEPEND="python? ( >=dev-lang/python-2.4 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${WORKDIR}/${PN}64/build/linux"
|
||||
|
||||
emake clib || die "make clib failed!"
|
||||
|
||||
if use python; then
|
||||
emake py || die "make py failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${WORKDIR}/${PN}64/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}64/"
|
||||
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"
|
||||
}
|
||||
Loading…
Reference in a new issue