summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2006-05-24 23:35:31 +0000
committerMark Loeser <halcy0n@gentoo.org>2006-05-24 23:35:31 +0000
commitf9069a9965efd242eca9ea33406350d921d6fefa (patch)
treebd9ef98e5121c8788e0d2e1de4195136377df610 /sys-libs/libmath++
parentUpdated to version 0.6_pre1, change X flag to gnome, Removed gtk dependency, ... (diff)
downloadgentoo-2-f9069a9965efd242eca9ea33406350d921d6fefa.tar.gz
gentoo-2-f9069a9965efd242eca9ea33406350d921d6fefa.tar.bz2
gentoo-2-f9069a9965efd242eca9ea33406350d921d6fefa.zip
Add doc USE flag to install doxygen documentation; bug #109416
(Portage version: 2.1_rc2-r2)
Diffstat (limited to 'sys-libs/libmath++')
-rw-r--r--sys-libs/libmath++/ChangeLog7
-rw-r--r--sys-libs/libmath++/files/digest-libmath++-0.0.42
-rw-r--r--sys-libs/libmath++/libmath++-0.0.4.ebuild23
3 files changed, 22 insertions, 10 deletions
diff --git a/sys-libs/libmath++/ChangeLog b/sys-libs/libmath++/ChangeLog
index 49f903d566b5..348a67f94449 100644
--- a/sys-libs/libmath++/ChangeLog
+++ b/sys-libs/libmath++/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/libmath++
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libmath++/ChangeLog,v 1.9 2005/03/17 02:36:00 trapni Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libmath++/ChangeLog,v 1.10 2006/05/24 23:35:31 halcy0n Exp $
+
+ 24 May 2006; Mark Loeser <halcy0n@gentoo.org> libmath++-0.0.4.ebuild:
+ Add doc USE flag to install doxygen documentation; bug #109416
17 Mar 2005; Christian Parpart <trapni@gentoo.org> libmath++-0.0.4.ebuild:
adding to amd64
diff --git a/sys-libs/libmath++/files/digest-libmath++-0.0.4 b/sys-libs/libmath++/files/digest-libmath++-0.0.4
index 6822dbc49674..625e166b84a1 100644
--- a/sys-libs/libmath++/files/digest-libmath++-0.0.4
+++ b/sys-libs/libmath++/files/digest-libmath++-0.0.4
@@ -1 +1,3 @@
MD5 ef2933a45df4def2d0a37f560399c9ad libmath++-0.0.4.tar.gz 51107
+RMD160 18bb19c1cbd209d2991988c75fe09c4aac83e6f2 libmath++-0.0.4.tar.gz 51107
+SHA256 9bfeb340a1331d53b43fcd0f0c3aef0b985985ee9bfffac7c42eb57405db3414 libmath++-0.0.4.tar.gz 51107
diff --git a/sys-libs/libmath++/libmath++-0.0.4.ebuild b/sys-libs/libmath++/libmath++-0.0.4.ebuild
index 4987bc45acb8..edae5006c89c 100644
--- a/sys-libs/libmath++/libmath++-0.0.4.ebuild
+++ b/sys-libs/libmath++/libmath++-0.0.4.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libmath++/libmath++-0.0.4.ebuild,v 1.6 2005/12/17 13:00:20 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libmath++/libmath++-0.0.4.ebuild,v 1.7 2006/05/24 23:35:31 halcy0n Exp $
+
+inherit autotools
DESCRIPTION="template based math library, written in C++, for symbolic and numeric calculus applications"
HOMEPAGE="http://rm-rf.in/libmath%2B%2B/"
@@ -9,22 +11,27 @@ SRC_URI="http://upstream.rm-rf.in/libmath%2B%2B/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="1"
KEYWORDS="ppc s390 x86 amd64"
-IUSE=""
+IUSE="doc"
-DEPEND=">=sys-devel/autoconf-2.59-r5
- >=sys-devel/automake-1.8.5-r1"
+DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
src_compile() {
- export WANT_AUTOCONF=2.5
- export WANT_AUTOMAKE=1.7
- autoreconf -v --install || die "autoreconf failed"
+ eautoreconf
econf || die "configure failed"
emake || die "make filed"
+
+ if use doc ; then
+ emake -C doc api-doc
+ fi
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS README TODO
+
+ if use doc ; then
+ dohtml -r "${S}"/doc/user-api/*
+ fi
}