42 lines
775 B
Bash
42 lines
775 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
EAPI=5
|
|
|
|
inherit eutils autotools
|
|
|
|
MY_PN="Atlas-C++"
|
|
MY_P=${MY_PN}-${PV}
|
|
DESCRIPTION="Atlas protocol, used in role playing games at worldforge"
|
|
HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/atlas_cpp"
|
|
SRC_URI="mirror://sourceforge/worldforge/${MY_P}.tar.bz2"
|
|
|
|
SLOT="0"
|
|
LICENSE="LGPL-2.1"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="doc"
|
|
|
|
RDEPEND=""
|
|
DEPEND="${RDEPEND}
|
|
doc? ( app-doc/doxygen )"
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-Werror.patch
|
|
eautoreconf
|
|
}
|
|
|
|
src_compile() {
|
|
emake
|
|
if use doc; then
|
|
emake docs
|
|
fi
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
use doc && dohtml -r doc/html/*
|
|
use doc && doman doc/man/man3/[^i]*
|
|
dodoc HACKING ROADMAP
|
|
}
|