[dev-games/bncsutil] convert to autotools-multilib since gmp in tree is multilib-aware now, cleanup

This commit is contained in:
Robert Förster 2013-10-13 09:08:11 +02:00
parent 773c62801a
commit bea7edb527
1 changed files with 8 additions and 19 deletions

View File

@ -4,7 +4,9 @@
EAPI="5"
inherit autotools-utils eutils
AUTOTOOLS_AUTORECONF=1
inherit autotools-multilib eutils
DESCRIPTION="The Battle.net client library"
HOMEPAGE="http://code.google.com/p/bncsutil"
@ -17,23 +19,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
DEPEND="dev-libs/gmp[static-libs?]"
DEPEND="dev-libs/gmp[static-libs?,${MULTILIB_USEDEP}]"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/${PN}-werror.patch"
epatch "${FILESDIR}/${PN}-ghost.patch"
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable static-libs static) )
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
prune_libtool_files
}
PATCHES=(
"${FILESDIR}/${PN}-werror.patch"
"${FILESDIR}/${PN}-ghost.patch"
)