summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-11-03 15:46:12 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-11-03 15:46:12 +0000
commitf9a8da3915b83cee86d39c9297ce30202fb033b0 (patch)
treed2995eac3519f1d8f30103c9e7d7818480ee1c92 /dev-cpp
parentFixed test case that failed inside the sandbox and added dejagnu as dependenc... (diff)
downloadgentoo-2-f9a8da3915b83cee86d39c9297ce30202fb033b0.tar.gz
gentoo-2-f9a8da3915b83cee86d39c9297ce30202fb033b0.tar.bz2
gentoo-2-f9a8da3915b83cee86d39c9297ce30202fb033b0.zip
Use new muParser build from gentooscience overlay, per bug #153851
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/muParser/ChangeLog5
-rw-r--r--dev-cpp/muParser/muParser-1.25.ebuild36
2 files changed, 23 insertions, 18 deletions
diff --git a/dev-cpp/muParser/ChangeLog b/dev-cpp/muParser/ChangeLog
index 567f3fd8e0d8..e1d9b58c14da 100644
--- a/dev-cpp/muParser/ChangeLog
+++ b/dev-cpp/muParser/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-cpp/muParser
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.3 2006/02/23 13:59:32 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.4 2006/11/03 15:46:12 caleb Exp $
+
+ 03 Nov 2006; Caleb Tennis <caleb@gentoo.org> muParser-1.25.ebuild:
+ Use new muParser build from gentooscience overlay, per bug #153851
23 Feb 2006; Caleb Tennis <caleb@gentoo.org> muParser-1.25.ebuild:
Change license to MIT from GPL-2
diff --git a/dev-cpp/muParser/muParser-1.25.ebuild b/dev-cpp/muParser/muParser-1.25.ebuild
index e35056509ea7..93d1efc5f664 100644
--- a/dev-cpp/muParser/muParser-1.25.ebuild
+++ b/dev-cpp/muParser/muParser-1.25.ebuild
@@ -1,28 +1,30 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-1.25.ebuild,v 1.3 2006/02/23 13:59:32 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-1.25.ebuild,v 1.4 2006/11/03 15:46:12 caleb Exp $
-inherit eutils
-
-MY_PN=${PN/P/p}
-
-DESCRIPTION="A fast math parser library"
-HOMEPAGE="http://muparser.sourceforge.net"
-SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}.tar.gz"
-
-LICENSE="MIT"
+DESCRIPTION="Library for parsing mathematical expressions"
+HOMEPAGE="http://muparser.sourceforge.net/"
SLOT="0"
+LICENSE="MIT"
KEYWORDS="~x86"
-IUSE=""
-DEPEND=""
-
-S=${WORKDIR}/${PN}
+IUSE="doc"
+MY_PN="${PN/P/p}"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}.tar.gz"
+DEPEND="doc? ( app-doc/doxygen )"
+S="${WORKDIR}/${PN}"
src_compile() {
- econf || die "configuration failed"
- MAKEOPTS="$MAKEOPTS -j1" emake || die "make failed"
+ econf --disable-samples || die "econf failed"
+ MAKEOPTS="$MAKEOPTS -j1" emake CXXFLAGS="${CXXFLAGS}" || die "emake failed"
+ if use doc; then
+ make documentation || die "make documentation failed"
+ fi
}
src_install() {
- make DESTDIR="${D}" install || die "Install Failed!"
+ make DESTDIR="${D}" install || die "install failed"
+ if use doc; then
+ insinto "/usr/share/doc/${PF}"
+ doins -r docs/html
+ fi
}