summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/muParser')
-rw-r--r--dev-cpp/muParser/ChangeLog8
-rw-r--r--dev-cpp/muParser/Manifest14
-rw-r--r--dev-cpp/muParser/files/muParser-1.32-parallel-build.patch15
-rw-r--r--dev-cpp/muParser/muParser-1.32-r1.ebuild52
4 files changed, 87 insertions, 2 deletions
diff --git a/dev-cpp/muParser/ChangeLog b/dev-cpp/muParser/ChangeLog
index e827ddb1c2a5..301a9a422137 100644
--- a/dev-cpp/muParser/ChangeLog
+++ b/dev-cpp/muParser/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-cpp/muParser
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.13 2010/02/14 20:45:26 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.14 2010/03/20 19:51:30 jlec Exp $
+
+*muParser-1.32-r1 (20 Mar 2010)
+
+ 20 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ +muParser-1.32-r1.ebuild, +files/muParser-1.32-parallel-build.patch:
+ Parallel build fix, #310037, Thanks Kacper Kowalik for patch
*muParser-1.32 (14 Feb 2010)
diff --git a/dev-cpp/muParser/Manifest b/dev-cpp/muParser/Manifest
index 1db003d153ae..c87c9b9dcdf9 100644
--- a/dev-cpp/muParser/Manifest
+++ b/dev-cpp/muParser/Manifest
@@ -1,12 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+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
AUX muParser-1.32-build.patch 337 RMD160 d3f7946717ca02cc29743676583b2ba5a31b4f82 SHA1 45fd07bcb15c863eaca29355f890fed34e640ed9 SHA256 edeafe2ebb7545bd8fe8ed20c3077ef13b19b080a5f8989d1c05bdc752b7b24c
+AUX muParser-1.32-parallel-build.patch 680 RMD160 ce219ed4e68f8a50d03c2e3ebf2daea54e1a8a5f SHA1 df103111a900c655dee83d7674fe588cb48a169e SHA256 bd68969e797530a11dd7bd8864131d0cf6878a9f754fdb005070760fc82dd948
DIST muparser_v128.tar.gz 623299 RMD160 140f4a3bb3e71caf29de93e067a11da65525cc26 SHA1 6c34bec84fc41c63bf796547d31f36537eb39a2a SHA256 4ff08e90dbfe492b495ac7d5b42d3fa10d744802aa12d95d3369dc8cc68a0c2f
DIST muparser_v130.tar.gz 820801 RMD160 489b781756e018bbe2976ab16d8962106a2ccf0f SHA1 8411b189b05317d836c92b02b267f7be5bc08611 SHA256 4423db166ef58d46d3e5ddfc89f9e862fa6bc38f2c5b35f04edfa8adc5549c98
DIST muparser_v132.tar.gz 1009309 RMD160 a8c03084db33f0a62b9d927799134fc35c7a4d87 SHA1 ff9e7be4408cafbbd6d9256095eaf8ebb12611b1 SHA256 49dec550c0a5bddf506c3ce80e3d98c92f83dd021acb0e0d57ce4d3ea9df8f47
EBUILD muParser-1.28.ebuild 1291 RMD160 f713ec7355354a6f4a55c183e057bae09c8497cd SHA1 38ef0dc3f12d0c1a196c3d49350761400157c6f3 SHA256 2fa8f9c32df2f87825569b370e7fc3f290399cf737368ecf0305e0dfc99422ac
EBUILD muParser-1.30.ebuild 1299 RMD160 937661ef97592e44c331cfa0b9760a726b347be6 SHA1 6c16c6e1a3faf998f1a68b3ff5963ba24eedb525 SHA256 fa1efdbd740e782ee8a7d3585c0ddde795a866f6ecadd0ecc08cae8b9bcd07be
+EBUILD muParser-1.32-r1.ebuild 1283 RMD160 40d1742745ed6a75e0b9f8f29462f00cb39f2a68 SHA1 7b0d2d5a75cebca28b24ebec60cc71858f93a982 SHA256 1b182b4abdd834b211a7625fcc844f7b749c1f796e0ab72723f68433875198d3
EBUILD muParser-1.32.ebuild 1231 RMD160 4d60b7e4dc4bf62ded013194b115eccf19f45717 SHA1 8a9037b8d45c07d855f21fd787e27b65ae1320be SHA256 45c42e9d363fadae03e33e4e4922edbf2e89529125730c5702b927e9fb89040d
-MISC ChangeLog 1972 RMD160 b56530d425161c01a5527d02955936ddfb8c9d55 SHA1 d5b00aa0d69f923dd8e2aacc42a6fbffdeddf56a SHA256 95587de2dc52391915c371a08ef95027d6c3af0fa37cfa5baf5000b596eb78b7
+MISC ChangeLog 2195 RMD160 073a801bc115d2a4f77856c8741608bfd0ac232b SHA1 b36407fd23ec9b2be7fbe0638275bd26d832654f SHA256 d0680815399c0e349d5db8d69f2d1d0ce63e2847a02ceec85c71c7c2fdf5961b
MISC metadata.xml 371 RMD160 cf1f5ffe20bac0026d986b4629f1db0b32e1bf77 SHA1 a3fb90c57b2c5ced1868d4be2d88d3af6bc773cd SHA256 75fe203bdedd4e649cf290eeaaa575116a85ef7303f7663a3876accf1de2c4ba
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkulJ0gACgkQgAnW8HDreRYZ4wCghnQqLNGfhkUvowZF0f6zdsKG
+mwIAnjx1eOxJnrIjxudUP52idB3FBIeQ
+=+mxX
+-----END PGP SIGNATURE-----
diff --git a/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch b/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch
new file mode 100644
index 000000000000..1681c6e68034
--- /dev/null
+++ b/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch
@@ -0,0 +1,15 @@
+Fixing parallel build issue
+
+http://bugs.gentoo.org/show_bug.cgi?id=310037
+
+--- muparser_v132/Makefile.in
++++ muparser_v132/Makefile.in
+@@ -291,7 +291,7 @@
+ @COND_SHARED_1@ rm -f $(DESTDIR)$(prefix)/$$f; \
+ @COND_SHARED_1@ done
+
+-@COND_SAMPLES_1@$(top_builddir)/samples/example1/example1$(EXEEXT): $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname)
++@COND_SAMPLES_1@$(top_builddir)/samples/example1/example1$(EXEEXT): $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) lib
+ @COND_SAMPLES_1@ $(CXX) -o $@ $(EXAMPLE1_OBJECTS) -L$(top_builddir)/lib -L$(srcdir)/lib $(LDFLAGS) -lmuparser$(DEBUG_BUILD_POSTFIX) $(LIBS)
+ @COND_SAMPLES_1@
+ @COND_SAMPLES_1@ $(__example1___mac_setfilecmd)
diff --git a/dev-cpp/muParser/muParser-1.32-r1.ebuild b/dev-cpp/muParser/muParser-1.32-r1.ebuild
new file mode 100644
index 000000000000..66fccba446d8
--- /dev/null
+++ b/dev-cpp/muParser/muParser-1.32-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-1.32-r1.ebuild,v 1.1 2010/03/20 19:51:30 jlec Exp $
+
+EAPI=2
+inherit eutils
+
+MY_PN=${PN/P/p}
+MY_P=${MY_PN}_v${PV/./}
+DESCRIPTION="Library for parsing mathematical expressions"
+HOMEPAGE="http://muparser.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+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
+ epatch "${FILESDIR}"/${P}-parallel-build.patch
+}
+
+src_configure() {
+ econf $(use_enable test samples)
+}
+
+src_test() {
+ cat > test.sh <<-EOFTEST
+ LD_LIBRARY_PATH=${S}/lib samples/example1/example1 << EOF
+ quit
+ EOF
+ EOFTEST
+ 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
+}