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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Aug 12 21:35:44 2011 UTC (3 years, 1 month ago) by xarthisius
Branch: MAIN
Changes since 1.7: +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.0.ebuild,v 1.7 2011/02/12 18:06:53 armin76 Exp $
4
5 inherit eutils
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_compile() {
25 econf \
26 $(use_enable zlib) \
27 $(use_enable bzip2 bzlib) \
28 || die "Error: econf failed!"
29 emake || die "Error: emake failed!"
30 if use doc; then
31 emake docs || die "Error: emake failed!"
32 fi
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" install || die "install failed"
37 use doc && dohtml -r doc/html/*
38 use doc && doman doc/man/*
39 dodoc AUTHORS ChangeLog HACKING NEWS README ROADMAP THANKS TODO
40 }

  ViewVC Help
Powered by ViewVC 1.1.20