a x86 disambler should be x86 ;)

This commit is contained in:
jensp 2009-12-28 14:15:03 +00:00
parent f83148838f
commit 1417736ea2
2 changed files with 15 additions and 1 deletions

View file

@ -1,2 +1,2 @@
DIST libdisasm-0.23.tar.gz 454721 RMD160 bd205e2399724e37738c9ad633fd24321acef5ff SHA1 ff5e2ffb726d1c28396b21e0abbe10bae5d4a846 SHA256 de3e578aa582af6e1d7729f39626892fb72dc6573658a221e0905f42a65433da
EBUILD libdisasm-0.23.ebuild 460 RMD160 ffc4c5b2e7c06cd940dad3c32615bce4184a32f9 SHA1 1213d0e321c69c5d73c6e8535ad5c49b1e07543e SHA256 720d1d321c0170cb1646de4296b546e9334d3104fb186d671e47904faae1e762
EBUILD libdisasm-0.23.ebuild 635 RMD160 abe0b31028c81655d691cba17e610e7fcdb50d68 SHA1 868c67e8adaf9547988fea951655a44b6d505c5b SHA256 8a94062423c5cd1643b14fdd3493ad54df3ec4101c2b7ef508a90499c35f339d

View file

@ -2,6 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit multilib
DESCRIPTION="x86 Disassembler Library"
HOMEPAGE="http://bastard.sourceforge.net/libdisasm.html"
SRC_URI="mirror://sourceforge/bastard/$P.tar.gz"
@ -16,6 +20,16 @@ RDEPEND=""
RESTRICT="strip" # we need debug symbols for the disambler to work
src_configure() {
if has_multilib_profile
then
CFLAGS="$CFLAGS -m32"
CXXFLAGS="$CFLAGS -m32"
econf --libdir=/usr/lib32
else
econf
fi
}
src_install() {
DESTDIR="${D}" emake install
}