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

master
Robert Förster 9 years ago
parent 773c62801a
commit bea7edb527
  1. 27
      dev-games/bncsutil/bncsutil-1.3.1_p20110720.ebuild

@ -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"
)

Loading…
Cancel
Save