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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Aug 12 21:35:44 2011 UTC (3 years, 4 months ago) by xarthisius
Branch: MAIN
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.1.ebuild,v 1.6 2011/02/12 18:06:53 armin76 Exp $
4
5 inherit eutils autotools
6
7 MY_PN="Atlas-C++"
8 MY_P=${MY_PN}-${PV}
9 DESCRIPTION="Atlas protocol, used in role playing games at worldforge."
10 HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/atlas_cpp"
11 SRC_URI="mirror://sourceforge/worldforge/${MY_P}.tar.bz2"
12
13 SLOT="0"
14 LICENSE="LGPL-2.1"
15 KEYWORDS="amd64 x86"
16 IUSE="bzip2 doc zlib"
17
18 RDEPEND=""
19 DEPEND="${RDEPEND}
20 doc? ( app-doc/doxygen )"
21
22 S=${WORKDIR}/${MY_P}
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 epatch "${FILESDIR}"/${P}-strict-aliasing.patch \
28 "${FILESDIR}"/${P}-gcc-4.3.patch
29 eautoreconf
30 }
31
32 src_compile() {
33 econf \
34 $(use_enable zlib) \
35 $(use_enable bzip2 bzlib) \
36 || die "Error: econf failed!"
37 emake || die "Error: emake failed!"
38 if use doc; then
39 emake docs || die "Error: emake failed!"
40 fi
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die "install failed"
45 use doc && dohtml -r doc/html/*
46 use doc && doman doc/man/*
47 dodoc AUTHORS ChangeLog HACKING NEWS README ROADMAP THANKS TODO
48 }

  ViewVC Help
Powered by ViewVC 1.1.20