/[gentoo-x86]/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild
Gentoo

Contents of /media-libs/atlas-c++/atlas-c++-0.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Aug 12 21:35:44 2011 UTC (2 years, 11 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Dropped ppc keywords wrt #345181

(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild,v 1.6 2011/05/02 09:47:29 tupone Exp $
4 EAPI=2
5
6 inherit eutils autotools
7
8 MY_PN="Atlas-C++"
9 MY_P=${MY_PN}-${PV}
10 DESCRIPTION="Atlas protocol, used in role playing games at worldforge."
11 HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/atlas_cpp"
12 SRC_URI="mirror://sourceforge/worldforge/${MY_P}.tar.bz2"
13
14 SLOT="0"
15 LICENSE="LGPL-2.1"
16 KEYWORDS="amd64 x86"
17 IUSE="doc"
18
19 RDEPEND=""
20 DEPEND="${RDEPEND}
21 doc? ( app-doc/doxygen )"
22
23 S=${WORKDIR}/${MY_P}
24
25 src_prepare() {
26 epatch "${FILESDIR}"/${P}-Werror.patch
27 eautoreconf
28 }
29
30 src_compile() {
31 emake || die "Error: emake failed!"
32 if use doc; then
33 emake docs || die "Error: emake docs failed!"
34 fi
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" install || die "install failed"
39 use doc && dohtml -r doc/html/*
40 use doc && doman doc/man/man3/[^i]*
41 dodoc AUTHORS ChangeLog HACKING NEWS README ROADMAP THANKS TODO
42 }

  ViewVC Help
Powered by ViewVC 1.1.20