2013-04-30 18:33:24 +02:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
2012-08-08 09:21:47 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $Id$
|
|
|
|
|
2013-04-30 18:33:24 +02:00
|
|
|
EAPI="5"
|
2012-08-08 09:21:47 +02:00
|
|
|
|
|
|
|
inherit autotools-utils eutils
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
DEPEND="dev-libs/gmp[static-libs?]"
|
|
|
|
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
|
|
|
|
}
|