summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-03-19 21:10:36 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-03-19 21:10:36 +0000
commit4cd449151edd9abceb5887c14b174891b5f34b47 (patch)
tree7c1483914f8ac0f54506ca22ac49e9b0744f67ff /media-libs/atlas-c++/atlas-c++-0.6.2.ebuild
parentwork around odd portage and/or bash bug (bug #310197) (diff)
downloadhistorical-4cd449151edd9abceb5887c14b174891b5f34b47.tar.gz
historical-4cd449151edd9abceb5887c14b174891b5f34b47.tar.bz2
historical-4cd449151edd9abceb5887c14b174891b5f34b47.zip
Version bump to 0.6.2 Bug #308173
Package-Manager: portage-2.1.7.17/cvs/Linux i686
Diffstat (limited to 'media-libs/atlas-c++/atlas-c++-0.6.2.ebuild')
-rw-r--r--media-libs/atlas-c++/atlas-c++-0.6.2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild b/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild
new file mode 100644
index 000000000000..715684206f90
--- /dev/null
+++ b/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild,v 1.1 2010/03/19 21:10:36 tupone Exp $
+EAPI=2
+
+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 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ emake || die "Error: emake failed!"
+ if use doc; then
+ emake docs || die "Error: emake docs failed!"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ use doc && dohtml -r doc/html/*
+ use doc && doman doc/man/*
+ dodoc AUTHORS ChangeLog HACKING NEWS README ROADMAP THANKS TODO
+}