[dev-games/bncsutil] initial import for ghost++, apply ghost++ changes unconditionally

This commit is contained in:
2012-08-08 09:21:47 +02:00
parent 80997bf06f
commit 1bf6074d74
4 changed files with 847 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $Id$
EAPI="4"
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"
LICENSE="as-is"
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
}