summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2011-02-25 14:51:30 +0000
committerAndrey Grozin <grozin@gentoo.org>2011-02-25 14:51:30 +0000
commit4c06fa528ea816d3fd0e880add48440844f18d9d (patch)
tree3dd69f193fc92a1c498102ad0b4e57cb53587eb0 /sci-mathematics/nestedsums
parentx86 stable per bug 347537 (diff)
downloadgentoo-2-4c06fa528ea816d3fd0e880add48440844f18d9d.tar.gz
gentoo-2-4c06fa528ea816d3fd0e880add48440844f18d9d.tar.bz2
gentoo-2-4c06fa528ea816d3fd0e880add48440844f18d9d.zip
Added doc USE flag
(Portage version: 2.2.0_alpha25/cvs/Linux i686)
Diffstat (limited to 'sci-mathematics/nestedsums')
-rw-r--r--sci-mathematics/nestedsums/ChangeLog8
-rw-r--r--sci-mathematics/nestedsums/nestedsums-1.4.12-r1.ebuild (renamed from sci-mathematics/nestedsums/nestedsums-1.4.12.ebuild)19
2 files changed, 23 insertions, 4 deletions
diff --git a/sci-mathematics/nestedsums/ChangeLog b/sci-mathematics/nestedsums/ChangeLog
index a9faa2dbf3f7..6ad826bc4c03 100644
--- a/sci-mathematics/nestedsums/ChangeLog
+++ b/sci-mathematics/nestedsums/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-mathematics/nestedsums
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/nestedsums/ChangeLog,v 1.2 2011/01/17 14:57:48 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/nestedsums/ChangeLog,v 1.3 2011/02/25 14:51:29 grozin Exp $
+
+*nestedsums-1.4.12-r1 (25 Feb 2011)
+
+ 25 Feb 2011; Andrey Grozin <grozin@gentoo.org> -nestedsums-1.4.12.ebuild,
+ +nestedsums-1.4.12-r1.ebuild:
+ Added doc USE flag
17 Jan 2011; Andrey Grozin <grozin@gentoo.org> nestedsums-1.4.12.ebuild:
Downgrade to EAPI 3
diff --git a/sci-mathematics/nestedsums/nestedsums-1.4.12.ebuild b/sci-mathematics/nestedsums/nestedsums-1.4.12-r1.ebuild
index a6147135c0dc..571f3d01b4ef 100644
--- a/sci-mathematics/nestedsums/nestedsums-1.4.12.ebuild
+++ b/sci-mathematics/nestedsums/nestedsums-1.4.12-r1.ebuild
@@ -1,19 +1,32 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/nestedsums/nestedsums-1.4.12.ebuild,v 1.2 2011/01/17 14:57:48 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/nestedsums/nestedsums-1.4.12-r1.ebuild,v 1.1 2011/02/25 14:51:29 grozin Exp $
EAPI="3"
DESCRIPTION="A GiNaC-based library for symbolic expansion of certain transcendental functions"
HOMEPAGE="http://wwwthep.physik.uni-mainz.de/~stefanw/nestedsums/"
-IUSE=""
+IUSE="doc"
SRC_URI="http://wwwthep.physik.uni-mainz.de/~stefanw/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
RDEPEND=">=sci-mathematics/ginac-1.5"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_compile() {
+ emake || die "emake failed"
+
+ if use doc; then
+ doxygen Doxyfile || die "generating documentation failed"
+ fi
+}
src_install() {
emake DESTDIR="${D}" install
rm -f "${D}"usr/lib/*.la
dodoc AUTHORS ChangeLog
+
+ if use doc; then
+ dohtml reference/html/* || die "installing documentation failed"
+ fi
}