diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2008-11-09 22:06:16 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2008-11-09 22:06:16 +0000 |
commit | a444caaa59987392f61e3171f90620192607a01c (patch) | |
tree | f0d09d6476b315f3609178369bd3b8d2a1d8f6eb /dev-libs | |
parent | bump (diff) | |
download | gentoo-2-a444caaa59987392f61e3171f90620192607a01c.tar.gz gentoo-2-a444caaa59987392f61e3171f90620192607a01c.tar.bz2 gentoo-2-a444caaa59987392f61e3171f90620192607a01c.zip |
0.9.6 version bump for bug 235461. Thanks to Chad A. Simmons
<chad.simmons at member.fsf.org> and M. Edward Borasky <znmeb at
cesmail.net>.
(Portage version: 2.1.4.5)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/quantlib/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/quantlib/quantlib-0.9.6.ebuild | 80 |
2 files changed, 87 insertions, 1 deletions
diff --git a/dev-libs/quantlib/ChangeLog b/dev-libs/quantlib/ChangeLog index 043496c7b9d9..82cadeeed67c 100644 --- a/dev-libs/quantlib/ChangeLog +++ b/dev-libs/quantlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/quantlib # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/ChangeLog,v 1.32 2008/09/06 21:16:33 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/ChangeLog,v 1.33 2008/11/09 22:06:16 vanquirius Exp $ + +*quantlib-0.9.6 (09 Nov 2008) + + 09 Nov 2008; Marcelo Goes <vanquirius@gentoo.org> +quantlib-0.9.6.ebuild: + 0.9.6 version bump for bug 235461. Thanks to Chad A. Simmons <chad.simmons + at member.fsf.org> and M. Edward Borasky <znmeb at cesmail.net>. 06 Sep 2008; Mark Loeser <halcy0n@gentoo.org> quantlib-0.3.10.ebuild, quantlib-0.3.12.ebuild: diff --git a/dev-libs/quantlib/quantlib-0.9.6.ebuild b/dev-libs/quantlib/quantlib-0.9.6.ebuild new file mode 100644 index 000000000000..0fff88a8a9da --- /dev/null +++ b/dev-libs/quantlib/quantlib-0.9.6.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/quantlib-0.9.6.ebuild,v 1.1 2008/11/09 22:06:16 vanquirius Exp $ + +inherit autotools eutils elisp-common + +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}" + +SITEFILE=50${PN}-gentoo.el + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e 's/qlintro.tex quantlibheader.tex //' \ + Docs/Makefile.in || die "sed failed" + + eautoconf +} + +src_compile() { + use emacs || + sed -i -e "s/^EMACS=.*/EMACS=no/" configure || die "sed failed" + + econf --with-lispdir="${SITELISP}/${PN}" || 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 + + if use emacs; then + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |