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

Contents of /media-libs/atlas-c++/atlas-c++-0.6.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Aug 12 21:35:44 2011 UTC (3 years, 4 months ago) by xarthisius
Branch: MAIN
Changes since 1.3: +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.1-r1.ebuild,v 1.3 2011/02/12 18:06:53 armin76 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}-strict-aliasing.patch \
27 "${FILESDIR}"/${P}-gcc-4.3.patch \
28 "${FILESDIR}"/${P}-gcc-4.4.patch \
29 "${FILESDIR}"/${P}-as-needed.patch
30 eautoreconf
31 }
32
33 src_compile() {
34 emake || die "Error: emake failed!"
35 if use doc; then
36 emake docs || die "Error: emake failed!"
37 fi
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" install || die "install failed"
42 use doc && dohtml -r doc/html/*
43 use doc && doman doc/man/*
44 dodoc AUTHORS ChangeLog HACKING NEWS README ROADMAP THANKS TODO
45 }

  ViewVC Help
Powered by ViewVC 1.1.20