summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-08-16 12:30:08 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-08-16 12:30:08 +0000
commitb91b3031c6ce2f09a13348459f6db2d29161fb8b (patch)
tree8c1f0e1feaee918e506ac34ad58592a98405f6ab /dev-cpp
parentVersion bump. Bug #188844 by Sergey D. <killy.netsphere at gmail.com>. (diff)
downloadgentoo-2-b91b3031c6ce2f09a13348459f6db2d29161fb8b.tar.gz
gentoo-2-b91b3031c6ce2f09a13348459f6db2d29161fb8b.tar.bz2
gentoo-2-b91b3031c6ce2f09a13348459f6db2d29161fb8b.zip
Version bump. Taking over maintainership.
(Portage version: 2.1.2.11)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/muParser/ChangeLog11
-rw-r--r--dev-cpp/muParser/files/digest-muParser-1.283
-rw-r--r--dev-cpp/muParser/files/muParser-1.28-destdir.patch13
-rw-r--r--dev-cpp/muParser/metadata.xml6
-rw-r--r--dev-cpp/muParser/muParser-1.28.ebuild48
5 files changed, 73 insertions, 8 deletions
diff --git a/dev-cpp/muParser/ChangeLog b/dev-cpp/muParser/ChangeLog
index e1d9b58c14da..afdc69eb8938 100644
--- a/dev-cpp/muParser/ChangeLog
+++ b/dev-cpp/muParser/ChangeLog
@@ -1,6 +1,12 @@
# 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.4 2006/11/03 15:46:12 caleb Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.5 2007/08/16 12:30:08 bicatali Exp $
+
+*muParser-1.28 (16 Aug 2007)
+
+ 16 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/muParser-1.28-destdir.patch, metadata.xml, +muParser-1.28.ebuild:
+ Version bump. sci team taking over maintainership, closing bug #187434.
03 Nov 2006; Caleb Tennis <caleb@gentoo.org> muParser-1.25.ebuild:
Use new muParser build from gentooscience overlay, per bug #153851
@@ -16,4 +22,3 @@
10 Feb 2006; Caleb Tennis <caleb@gentoo.org> +metadata.xml,
+muParser-1.25.ebuild:
Initial import
-
diff --git a/dev-cpp/muParser/files/digest-muParser-1.28 b/dev-cpp/muParser/files/digest-muParser-1.28
new file mode 100644
index 000000000000..b955fbf76228
--- /dev/null
+++ b/dev-cpp/muParser/files/digest-muParser-1.28
@@ -0,0 +1,3 @@
+MD5 451a322db29d7fed159f4287e8b8e00d muparser_v128.tar.gz 623299
+RMD160 140f4a3bb3e71caf29de93e067a11da65525cc26 muparser_v128.tar.gz 623299
+SHA256 4ff08e90dbfe492b495ac7d5b42d3fa10d744802aa12d95d3369dc8cc68a0c2f muparser_v128.tar.gz 623299
diff --git a/dev-cpp/muParser/files/muParser-1.28-destdir.patch b/dev-cpp/muParser/files/muParser-1.28-destdir.patch
new file mode 100644
index 000000000000..3516c9791d54
--- /dev/null
+++ b/dev-cpp/muParser/files/muParser-1.28-destdir.patch
@@ -0,0 +1,13 @@
+--- Makefile.in.orig 2007-08-01 21:54:43.001507250 +0100
++++ Makefile.in 2007-08-01 21:55:40.649110000 +0100
+@@ -192,8 +192,8 @@
+ all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname)
+
+ install: all $(__install_muParser_lib___depname) $(__install_muParser_lib_headers___depname) $(__install_muParser_dll___depname) $(__install_muParser_dll_headers___depname)
+- $(INSTALL_DIR) $(libdir)/pkgconfig
+- $(INSTALL_DATA) build/autoconf/muparser.pc $(libdir)/pkgconfig
++ $(INSTALL_DIR) $(DESTDIR)$(libdir)/pkgconfig
++ $(INSTALL_DATA) build/autoconf/muparser.pc $(DESTDIR)$(libdir)/pkgconfig
+
+ uninstall: $(__uninstall_muParser_lib___depname) $(__uninstall_muParser_lib_headers___depname) $(__uninstall_muParser_dll___depname) $(__uninstall_muParser_dll_headers___depname)
+
diff --git a/dev-cpp/muParser/metadata.xml b/dev-cpp/muParser/metadata.xml
index c9e70127853c..ef1907f15c5d 100644
--- a/dev-cpp/muParser/metadata.xml
+++ b/dev-cpp/muParser/metadata.xml
@@ -1,11 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
-<email>caleb@gentoo.org</email>
-<name>Caleb Tennis</name>
-</maintainer>
+<herd>sci</herd>
<longdescription lang="en">
muParser is a C++ based mathematical expression parser
</longdescription>
diff --git a/dev-cpp/muParser/muParser-1.28.ebuild b/dev-cpp/muParser/muParser-1.28.ebuild
new file mode 100644
index 000000000000..f8b8583f10cf
--- /dev/null
+++ b/dev-cpp/muParser/muParser-1.28.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-1.28.ebuild,v 1.1 2007/08/16 12:30:08 bicatali Exp $
+
+inherit eutils
+
+DESCRIPTION="Library for parsing mathematical expressions"
+HOMEPAGE="http://muparser.sourceforge.net/"
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+MY_PN="${PN/P/p}"
+MY_PV="v${PV/./}"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}_${MY_PV}.tar.gz"
+
+REDEPEND=""
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # fix destdir to install pkgconfig file
+ epatch "${FILESDIR}"/${P}-destdir.patch
+}
+
+src_compile() {
+ econf --disable-samples || die "econf failed"
+ emake -j1 CXXFLAGS="${CXXFLAGS}"|| die "emake failed"
+}
+
+src_test() {
+ econf --enable-samples || die "econf failed"
+ emake || die "emake failed"
+ echo "LD_LIBRARY_PATH=${PWD}/lib samples/example1/example1 << EOF" > test.sh
+ echo "quit" >> test.sh
+ echo "EOF" >> test.sh
+ sh ./test.sh || die "test failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc Changes.txt Credits.txt || die "dodoc failed"
+ use doc && dohtml -r docs/html/*
+}