summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-03-09 16:21:14 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-03-09 16:21:14 +0000
commit081c675370548605e4e8f8c2d15c4e962a35ea68 (patch)
tree5c6e227c84dcbce16e382bd806dc3cc95d510448 /dev-cpp
parentAdding doc use flag for proper doc installation (diff)
downloadhistorical-081c675370548605e4e8f8c2d15c4e962a35ea68.tar.gz
historical-081c675370548605e4e8f8c2d15c4e962a35ea68.tar.bz2
historical-081c675370548605e4e8f8c2d15c4e962a35ea68.zip
Version bump
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/muParser/ChangeLog10
-rw-r--r--dev-cpp/muParser/Manifest13
-rw-r--r--dev-cpp/muParser/files/muParser-1.30-build.patch28
-rw-r--r--dev-cpp/muParser/muParser-1.30.ebuild50
4 files changed, 94 insertions, 7 deletions
diff --git a/dev-cpp/muParser/ChangeLog b/dev-cpp/muParser/ChangeLog
index 596f04ae45f6..4581309b9539 100644
--- a/dev-cpp/muParser/ChangeLog
+++ b/dev-cpp/muParser/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-cpp/muParser
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.8 2008/05/17 09:59:22 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.9 2009/03/09 16:21:14 bicatali Exp $
+
+*muParser-1.30 (09 Mar 2009)
+
+ 09 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/muParser-1.30-build.patch, +muParser-1.30.ebuild:
+ Version bump
17 May 2008; Sébastien Fabbro <bicatali@gentoo.org> muParser-1.28.ebuild:
Fixed syntax error in RDEPEND
diff --git a/dev-cpp/muParser/Manifest b/dev-cpp/muParser/Manifest
index cd6d1e939cdc..6007e38308a5 100644
--- a/dev-cpp/muParser/Manifest
+++ b/dev-cpp/muParser/Manifest
@@ -3,14 +3,17 @@ Hash: SHA1
AUX muParser-1.28-destdir.patch 799 RMD160 542672389ffd3d88abc7f1b9f7b0c159808e3c90 SHA1 c8ca147ac760522a03497adf0bbf570645a1b670 SHA256 250cf7042d6cc484dc5811571c79b0027f46deac07393d97951a4a0907fadc8b
AUX muParser-1.28-gcc43.patch 747 RMD160 e14dcb0d22e17a36c8c7c99104f7190a8a960834 SHA1 b9beddee8309a01c1e2de20848cbaa9992190679 SHA256 767ea424460f2c2e9fe33253f44655e47bfb5d8b32a606637bec8ec2302a773a
+AUX muParser-1.30-build.patch 1287 RMD160 cfe4b939f0a56ecfc5a77f0262d8724f77b7abf0 SHA1 dc07ec430d1fde3a56029b8bb0af2ced2891520f SHA256 dcb3f5a3f580508f72baaea148f69faf17c6aee086eb0b3f84f7f9ab8b3182f1
DIST muparser_v128.tar.gz 623299 RMD160 140f4a3bb3e71caf29de93e067a11da65525cc26 SHA1 6c34bec84fc41c63bf796547d31f36537eb39a2a SHA256 4ff08e90dbfe492b495ac7d5b42d3fa10d744802aa12d95d3369dc8cc68a0c2f
+DIST muparser_v130.tar.gz 820801 RMD160 489b781756e018bbe2976ab16d8962106a2ccf0f SHA1 8411b189b05317d836c92b02b267f7be5bc08611 SHA256 4423db166ef58d46d3e5ddfc89f9e862fa6bc38f2c5b35f04edfa8adc5549c98
EBUILD muParser-1.28.ebuild 1291 RMD160 f713ec7355354a6f4a55c183e057bae09c8497cd SHA1 38ef0dc3f12d0c1a196c3d49350761400157c6f3 SHA256 2fa8f9c32df2f87825569b370e7fc3f290399cf737368ecf0305e0dfc99422ac
-MISC ChangeLog 1341 RMD160 914e9c6533e70ed8cb852334f29c6e076168b789 SHA1 1ae33ef9cd7acdec1db94b6032c13c5aa2b624b4 SHA256 f1fe2bf861e1f2035b509442d900f53096f7a6319a4873e60ec3df95a5cecccd
+EBUILD muParser-1.30.ebuild 1252 RMD160 d046730c300a46a32c1249743be2148f96be9a12 SHA1 091bab434516b39d4c61586eebd8874fd4e27bb6 SHA256 27dc977f2805d13f0272925c298fb8d3cd4be4c6fa22466a42786463fdada93f
+MISC ChangeLog 1501 RMD160 fea0f3c0a3dcd75acc29f29110dae87a7c6c1928 SHA1 c33d7c3c48195e902c46eb4acf604645bbe61c08 SHA256 dccda8803de0caecd8ab7a16e22baeefcf2922faf7aa06321c841d975538cfec
MISC metadata.xml 371 RMD160 cf1f5ffe20bac0026d986b4629f1db0b32e1bf77 SHA1 a3fb90c57b2c5ced1868d4be2d88d3af6bc773cd SHA256 75fe203bdedd4e649cf290eeaaa575116a85ef7303f7663a3876accf1de2c4ba
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkgurIUACgkQ1ycZbhPLE2AMbgCfQlvN5sShCHsCjcfriHd1wmtS
-040AnjyVEt1wCDpyxfsch6vCVEaIPyWJ
-=ub60
+iEYEARECAAYFAkm1QggACgkQ1ycZbhPLE2Cj5wCbBipOU2BCf/AzLVylY74D9dSX
+SLoAoI4iJ72HhvQKaWvKt+sIJizh+Dt5
+=PX5t
-----END PGP SIGNATURE-----
diff --git a/dev-cpp/muParser/files/muParser-1.30-build.patch b/dev-cpp/muParser/files/muParser-1.30-build.patch
new file mode 100644
index 000000000000..9ded9274fd46
--- /dev/null
+++ b/dev-cpp/muParser/files/muParser-1.30-build.patch
@@ -0,0 +1,28 @@
+diff -Nur muparser.orig/configure muparser/configure
+--- muparser.orig/configure 2008-06-09 22:51:39.000000000 +0100
++++ muparser/configure 2009-03-09 16:12:02.335504093 +0000
+@@ -1927,10 +1927,6 @@
+ NONENONEs,x,x, &&
+ program_prefix=${target_alias}-
+
+-CFLAGS=
+-CXXFLAGS=
+-CPPFLAGS=
+-
+ for ac_prog in gawk mawk nawk awk
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+diff -Nur muparser.orig/Makefile.in muparser/Makefile.in
+--- muparser.orig/Makefile.in 2008-06-09 22:51:39.000000000 +0100
++++ muparser/Makefile.in 2009-03-09 16:07:55.871757201 +0000
+@@ -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/muParser-1.30.ebuild b/dev-cpp/muParser/muParser-1.30.ebuild
new file mode 100644
index 000000000000..a58738307dce
--- /dev/null
+++ b/dev-cpp/muParser/muParser-1.30.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-1.30.ebuild,v 1.1 2009/03/09 16:21:14 bicatali Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Library for parsing mathematical expressions"
+HOMEPAGE="http://muparser.sourceforge.net/"
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="doc"
+MY_PN="${PN/P/p}"
+MY_PV="v${PV/./}"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}_${MY_PV}.tar.gz"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+ # fix destdir and respect cxxflags
+ # cant really use autotools cause muparser use bakefile
+ # and too lasy to make an ebuild for it.
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_configure() {
+ econf --disable-samples
+}
+
+src_test() {
+ econf --enable-samples
+ 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"
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins -r docs/html || die
+ fi
+}