2016-02-10 15:55:18 +01:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
2012-08-08 09:21:47 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-21 14:38:36 +02:00
|
|
|
# $Id$
|
2012-08-08 09:21:47 +02:00
|
|
|
|
2016-02-10 15:55:18 +01:00
|
|
|
EAPI="6"
|
2012-08-08 09:21:47 +02:00
|
|
|
|
2016-02-10 18:21:19 +01:00
|
|
|
inherit autotools eutils multilib-minimal
|
2012-08-08 09:21:47 +02:00
|
|
|
|
|
|
|
DESCRIPTION="The Battle.net client library"
|
|
|
|
HOMEPAGE="http://code.google.com/p/bncsutil"
|
|
|
|
SRC_URI="http://people.znc.in/~dessa/ghost/deps/${P}.tar.xz"
|
|
|
|
|
|
|
|
RESTRICT="mirror"
|
|
|
|
|
2013-04-30 18:33:24 +02:00
|
|
|
LICENSE="LGPL-2+"
|
2012-08-08 09:21:47 +02:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE="static-libs"
|
|
|
|
|
2013-10-13 09:08:11 +02:00
|
|
|
DEPEND="dev-libs/gmp[static-libs?,${MULTILIB_USEDEP}]"
|
2012-08-08 09:21:47 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
2016-02-10 18:21:19 +01:00
|
|
|
src_prepare() {
|
|
|
|
eapply "${FILESDIR}/${PN}-werror.patch"
|
|
|
|
eapply "${FILESDIR}/${PN}-ghost.patch"
|
|
|
|
eautoreconf
|
|
|
|
default
|
|
|
|
multilib_copy_sources
|
|
|
|
}
|
|
|
|
|
|
|
|
multilib_src_configure() {
|
|
|
|
econf $(use_enable static-libs static)
|
|
|
|
}
|
|
|
|
|
|
|
|
multilib_src_install() {
|
|
|
|
default
|
|
|
|
prune_libtool_files
|
|
|
|
}
|