diff options
-rw-r--r-- | dev-libs/quantlib/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/quantlib/Manifest | 32 | ||||
-rw-r--r-- | dev-libs/quantlib/files/0.3.13-boost_mt.patch | 11 | ||||
-rw-r--r-- | dev-libs/quantlib/files/0.3.13-destdir.patch | 34 | ||||
-rw-r--r-- | dev-libs/quantlib/files/digest-quantlib-0.3.12 | 2 | ||||
-rw-r--r-- | dev-libs/quantlib/files/digest-quantlib-0.3.13 | 3 | ||||
-rw-r--r-- | dev-libs/quantlib/quantlib-0.3.13.ebuild | 69 |
7 files changed, 148 insertions, 9 deletions
diff --git a/dev-libs/quantlib/ChangeLog b/dev-libs/quantlib/ChangeLog index 10ad075f7504..27af65ed5c3b 100644 --- a/dev-libs/quantlib/ChangeLog +++ b/dev-libs/quantlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/quantlib # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/ChangeLog,v 1.24 2006/08/22 11:58:36 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/ChangeLog,v 1.25 2006/10/22 19:01:40 dev-zero Exp $ + + 22 Oct 2006; Tiziano Müller <dev-zero@gentoo.org> +quantlib-0.3.13.ebuild: + Version bump. Added 'doc','emacs' and 'examples' USE-flag. Complete rework + of the ebuild. 22 Aug 2006; Jason Wever <weeve@gentoo.org> quantlib-0.3.10.ebuild: Stable on SPARC. diff --git a/dev-libs/quantlib/Manifest b/dev-libs/quantlib/Manifest index 6a55018ee301..1db76f6d646d 100644 --- a/dev-libs/quantlib/Manifest +++ b/dev-libs/quantlib/Manifest @@ -1,7 +1,16 @@ +AUX 0.3.13-boost_mt.patch 513 RMD160 a4af229ba5ac98e7d2333fc7ec76df34a7f23e46 SHA1 4f8d61ec598b6aef9cca01522aaf2b9cc4146cbf SHA256 34b9c115cb54126267e2473c4053e336bed75925f33767212af1c852440ff4be +MD5 c90bf1072155f0f8c32a72c0a0dc0e2c files/0.3.13-boost_mt.patch 513 +RMD160 a4af229ba5ac98e7d2333fc7ec76df34a7f23e46 files/0.3.13-boost_mt.patch 513 +SHA256 34b9c115cb54126267e2473c4053e336bed75925f33767212af1c852440ff4be files/0.3.13-boost_mt.patch 513 +AUX 0.3.13-destdir.patch 1413 RMD160 f72e56afce235234211cd2702deb35a6711ac789 SHA1 b600c9750c4f4ba1d323127bdb3152f5bbe93378 SHA256 46ceb8b4237915f93149319f6f168e481cf19e27ef962ae7d4433b02bfc62849 +MD5 7a9749230632d07c9afeb7393d4250ee files/0.3.13-destdir.patch 1413 +RMD160 f72e56afce235234211cd2702deb35a6711ac789 files/0.3.13-destdir.patch 1413 +SHA256 46ceb8b4237915f93149319f6f168e481cf19e27ef962ae7d4433b02bfc62849 files/0.3.13-destdir.patch 1413 DIST QuantLib-0.3.0-src.tar.gz 729735 DIST QuantLib-0.3.10.tar.gz 1527354 RMD160 15b6fb6a52e885aad7b92c4d0b9994a606003558 SHA1 c13d790cc91d48c77c043e0d368450e6ec22e51b SHA256 1ebc78404d86d3d763dbb8dfad83c51e28a5f140a4864728acc9d193091558d5 DIST QuantLib-0.3.11.tar.gz 1582822 RMD160 3995277aa33c66e6203c6806af2cadb8dd4734c3 SHA1 d14b45f59c7c4d57ff06b4094815c83cf2ec1d9a SHA256 7f128e83081c3b7be1ef1d9005a245462dc0fa1a060cb51b50ec5ac67da36c25 -DIST QuantLib-0.3.12.tar.gz 1663966 +DIST QuantLib-0.3.12.tar.gz 1663966 RMD160 08c6ee45e4737606c69bc309b7105d0bef719682 SHA1 c9c38b677fb0c34c1b0748252d3ca7c5fc940a31 SHA256 7484adc344913c1017a480e49e2209987beae1b42de26b1e8da138c88de6a635 +DIST QuantLib-0.3.13.tar.gz 1716360 RMD160 b0c6a8a286e2953944ef15a10b5429b86b416b2f SHA1 9c9214a2aac39615cc74260bf28e0f2b0db354ce SHA256 96bf005b08bc331cf111a696bee63eabc40ae0e6e7f66231d5128778f0318265 EBUILD quantlib-0.3.0.ebuild 599 RMD160 687f75476f12d909bd621b77c090af51219c5f42 SHA1 b8a56a0590e6b3edc2ead56b359db821ddfb23d8 SHA256 0e9556c1a4229daa1d053ea34ae5a014523ef0173995d94a5ddca23cb855e543 MD5 c23181efc9f07965c03a6f46e50d465a quantlib-0.3.0.ebuild 599 RMD160 687f75476f12d909bd621b77c090af51219c5f42 quantlib-0.3.0.ebuild 599 @@ -18,10 +27,14 @@ EBUILD quantlib-0.3.12.ebuild 628 RMD160 9aa8e6461f257175ecebca611fed14da19ad0bc MD5 4b6f1bebf78dd1f4baf65360da0f5210 quantlib-0.3.12.ebuild 628 RMD160 9aa8e6461f257175ecebca611fed14da19ad0bcb quantlib-0.3.12.ebuild 628 SHA256 3c9f9e25e35045fa8eee9287860cb84d71b403b0121164b9ad5cb5d8ba948da9 quantlib-0.3.12.ebuild 628 -MISC ChangeLog 3667 RMD160 68316a3c111c1ef6a62707bb881ae7011c4103c6 SHA1 b41b31682cbe0a44d33216d17b45863b9b4c7a72 SHA256 bbccea6654d746ae2562d39a336078c1a7bb02e29e04d472f42906ee68bec63a -MD5 ab4e849169baf1b23cef4ac5d27307e3 ChangeLog 3667 -RMD160 68316a3c111c1ef6a62707bb881ae7011c4103c6 ChangeLog 3667 -SHA256 bbccea6654d746ae2562d39a336078c1a7bb02e29e04d472f42906ee68bec63a ChangeLog 3667 +EBUILD quantlib-0.3.13.ebuild 1487 RMD160 b7251035ecd5e8146645c5b8d9ca9c7aa447e486 SHA1 184082b53a7c67c97f01349028ac1e358cc7a0a6 SHA256 d0cbbdbda83cafbd1ebdd4647c8520cc4cff79b13c9a6c04185f6cebcb169d37 +MD5 3614d6c3cd355e3aac3cd51d1a96325f quantlib-0.3.13.ebuild 1487 +RMD160 b7251035ecd5e8146645c5b8d9ca9c7aa447e486 quantlib-0.3.13.ebuild 1487 +SHA256 d0cbbdbda83cafbd1ebdd4647c8520cc4cff79b13c9a6c04185f6cebcb169d37 quantlib-0.3.13.ebuild 1487 +MISC ChangeLog 3843 RMD160 fb1fc09912655c1369590d5c5276483c30789e71 SHA1 37b2bf8b1b2395725be2b9898dfb045dd6a4032d SHA256 7c17b3093bc2aa5a00404109d251b65490cf7585d9ace7899a9ba53663824bf1 +MD5 7d1c81b7ea78e08d54ad44eaed9a7c03 ChangeLog 3843 +RMD160 fb1fc09912655c1369590d5c5276483c30789e71 ChangeLog 3843 +SHA256 7c17b3093bc2aa5a00404109d251b65490cf7585d9ace7899a9ba53663824bf1 ChangeLog 3843 MISC metadata.xml 392 RMD160 23344d29ac6deda6b4cb997aa0b933b711d2af16 SHA1 9055230101852babb381863068c80764f7e59a9e SHA256 26d6c626977f68c1c29c975852229e6e5f884f19912894d349cf86034c181f0a MD5 a3fb19083b6aca15b423c3b6b648c7dc metadata.xml 392 RMD160 23344d29ac6deda6b4cb997aa0b933b711d2af16 metadata.xml 392 @@ -35,6 +48,9 @@ SHA256 cfc78d767ebdbfa90d0625c0880de3538f0bf9c854019bd5611ba0984c196742 files/di MD5 be9340dbf3de0ab4e4d30c98c395e693 files/digest-quantlib-0.3.11 250 RMD160 aa8576d73e6a51aee94b242e58462f8dc0f1204f files/digest-quantlib-0.3.11 250 SHA256 21c4c58a200587147ad6e7f0478f5ae75c13bc22f3223e21c766ce8a5b6698e8 files/digest-quantlib-0.3.11 250 -MD5 5dc84376d37a101ba3ac91afbe2722ec files/digest-quantlib-0.3.12 68 -RMD160 b6081b5953a5c8d86bc421ef0e2200d11210419b files/digest-quantlib-0.3.12 68 -SHA256 ad6d2622a69052cf9a6392bf114c6a009d09b77d64acfaa81b27a00659664ba4 files/digest-quantlib-0.3.12 68 +MD5 4269e335805d619bcedaf853a52ea373 files/digest-quantlib-0.3.12 250 +RMD160 fde3b2d7d79e96e9a2c104add72d68a3b06ff113 files/digest-quantlib-0.3.12 250 +SHA256 6f705ec856b2af6a3da66b2faf6ea93d3f66c855335fceaf0bec9b1c41cc12cf files/digest-quantlib-0.3.12 250 +MD5 7cf32e61e2077feabd80289dca1c29fe files/digest-quantlib-0.3.13 250 +RMD160 414cf1fe652e60051cb47ca0ec7c766b8b2ab3bc files/digest-quantlib-0.3.13 250 +SHA256 c6800d91816fdbb95387dd59240805832d99a26dd578a4378f34bcdec5c214c0 files/digest-quantlib-0.3.13 250 diff --git a/dev-libs/quantlib/files/0.3.13-boost_mt.patch b/dev-libs/quantlib/files/0.3.13-boost_mt.patch new file mode 100644 index 000000000000..80d8ccce96be --- /dev/null +++ b/dev-libs/quantlib/files/0.3.13-boost_mt.patch @@ -0,0 +1,11 @@ +--- acinclude.m4.orig 2006-10-22 00:07:01.000000000 +0200 ++++ acinclude.m4 2006-10-22 00:07:20.000000000 +0200 +@@ -73,7 +73,7 @@ + [AC_MSG_CHECKING([for Boost unit-test framework]) + AC_REQUIRE([AC_PROG_CC]) + ql_original_LIBS=$LIBS +- for boost_lib in boost_unit_test_framework-$CC boost_unit_test_framework ; do ++ for boost_lib in boost_unit_test_framework-$CC boost_unit_test_framework boost_unit_test_framework-mt ; do + LIBS="$ql_original_LIBS -l$boost_lib" + boost_unit_found=no + AC_LINK_IFELSE( diff --git a/dev-libs/quantlib/files/0.3.13-destdir.patch b/dev-libs/quantlib/files/0.3.13-destdir.patch new file mode 100644 index 000000000000..d4259989e356 --- /dev/null +++ b/dev-libs/quantlib/files/0.3.13-destdir.patch @@ -0,0 +1,34 @@ +--- ql/Makefile.am.orig 2006-10-21 13:03:31.000000000 +0200 ++++ ql/Makefile.am 2006-10-21 13:10:47.000000000 +0200 +@@ -84,15 +84,15 @@ + install-data-hook: + $(SED) -e "s,HAVE_CONFIG_H,QL_HAVE_CONFIG_H," \ + -e "s,/\* install-hook \*/,#define QL_HAVE_CONFIG_H," \ +- $(includedir)/qldefines.hpp > .qldefines.hpp +- $(INSTALL_DATA) .qldefines.hpp $(includedir)/qldefines.hpp ++ $(DESTDIR)/$(includedir)/qldefines.hpp > .qldefines.hpp ++ $(INSTALL_DATA) .qldefines.hpp $(DESTDIR)/$(includedir)/qldefines.hpp + rm .qldefines.hpp + $(SED) -e "s,PACKAGE,QL_PACKAGE," \ + -e "s,STDC,QL_STDC," \ + -e "s, HAVE, QL_HAVE," \ + -e "s, VERSION, QL_AC_VERSION," \ +- $(includedir)/config.hpp > .config.hpp +- $(INSTALL_DATA) .config.hpp $(includedir)/config.hpp ++ $(DESTDIR)/$(includedir)/config.hpp > .config.hpp ++ $(INSTALL_DATA) .config.hpp $(DESTDIR)/$(includedir)/config.hpp + rm .config.hpp + depend: + makedepend $(INCLUDES) -- $(CFLAGS) -- $(SOURCES) +@@ -100,9 +100,8 @@ + if ENABLE_STATIC + + install-exec-hook: +- mv $(libdir)/libQuantLib.a $(libdir)/libQuantLib-$(PACKAGE_VERSION).a +- $(LN_S) $(libdir)/libQuantLib-$(PACKAGE_VERSION).a $(libdir)/libQuantLib.a +- ++ mv $(DESTDIR)/$(libdir)/libQuantLib.a $(DESTDIR)/$(libdir)/libQuantLib-$(PACKAGE_VERSION).a ++ $(LN_S) libQuantLib-$(PACKAGE_VERSION).a $(DESTDIR)/$(libdir)/libQuantLib.a + endif + + diff --git a/dev-libs/quantlib/files/digest-quantlib-0.3.12 b/dev-libs/quantlib/files/digest-quantlib-0.3.12 index d50729a2a79a..cddce8069dc1 100644 --- a/dev-libs/quantlib/files/digest-quantlib-0.3.12 +++ b/dev-libs/quantlib/files/digest-quantlib-0.3.12 @@ -1 +1,3 @@ MD5 421d181633d2ad467fd3a33a58086e12 QuantLib-0.3.12.tar.gz 1663966 +RMD160 08c6ee45e4737606c69bc309b7105d0bef719682 QuantLib-0.3.12.tar.gz 1663966 +SHA256 7484adc344913c1017a480e49e2209987beae1b42de26b1e8da138c88de6a635 QuantLib-0.3.12.tar.gz 1663966 diff --git a/dev-libs/quantlib/files/digest-quantlib-0.3.13 b/dev-libs/quantlib/files/digest-quantlib-0.3.13 new file mode 100644 index 000000000000..847640ff9349 --- /dev/null +++ b/dev-libs/quantlib/files/digest-quantlib-0.3.13 @@ -0,0 +1,3 @@ +MD5 f4a9916b33aad677a7c9fa78ac595492 QuantLib-0.3.13.tar.gz 1716360 +RMD160 b0c6a8a286e2953944ef15a10b5429b86b416b2f QuantLib-0.3.13.tar.gz 1716360 +SHA256 96bf005b08bc331cf111a696bee63eabc40ae0e6e7f66231d5128778f0318265 QuantLib-0.3.13.tar.gz 1716360 diff --git a/dev-libs/quantlib/quantlib-0.3.13.ebuild b/dev-libs/quantlib/quantlib-0.3.13.ebuild new file mode 100644 index 000000000000..2e6e0084aa63 --- /dev/null +++ b/dev-libs/quantlib/quantlib-0.3.13.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/quantlib-0.3.13.ebuild,v 1.1 2006/10/22 19:01:40 dev-zero Exp $ + +inherit autotools eutils + +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +MY_P=QuantLib-${PV} +DESCRIPTION="A comprehensive software framework for quantitative finance" +HOMEPAGE="http://www.quantlib.org" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +SLOT="0" +LICENSE="BSD" +IUSE="doc emacs examples" + +RDEPEND="dev-libs/boost" +DEPEND="sys-devel/libtool + emacs? ( virtual/emacs ) + doc? ( app-doc/doxygen ) + ${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PV}-destdir.patch" + epatch "${FILESDIR}/${PV}-boost_mt.patch" + + sed -i \ + -e 's/qlintro.tex quantlibheader.tex //' \ + Docs/Makefile.in || die "sed failed" + + eautoreconf +} + +src_compile() { + use emacs || + sed -i -e "s/^EMACS=.*/EMACS=no/" configure || die "sed failed" + + econf || die "econf failed" + emake || die "emake failed" + + if use doc ; then + cd "${S}/Docs" + emake docs-online || die "emake docs-html failed" + fi +} + +src_install(){ + emake DESTDIR="${D}" install || die "emake install failed" + dodoc *.txt + + if use doc ; then + cd "${S}/Docs" + dohtml html-online/* + fi + + if use examples ; then + cd "${S}/Examples" + insinto /usr/share/doc/${PF}/examples + doins *.txt + for example in $(ls -d */); do + doins ${example%%/}/*.{cpp,h,txt} + done + fi +} |