diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-06-19 12:04:31 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-06-19 12:04:31 +0000 |
commit | 2e04df1cbdb1655fd980295a853b95edc889c359 (patch) | |
tree | 3c16814a555fcd99fbd0a313a2c095fe00a3e66d | |
parent | Added LDFLAGS=$(raw-ldflags) since they get passed directly to the linker (an... (diff) | |
download | gentoo-2-2e04df1cbdb1655fd980295a853b95edc889c359.tar.gz gentoo-2-2e04df1cbdb1655fd980295a853b95edc889c359.tar.bz2 gentoo-2-2e04df1cbdb1655fd980295a853b95edc889c359.zip |
Version bump
(Portage version: 2.1.4.4)
-rw-r--r-- | sci-mathematics/mathomatic/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/mathomatic/mathomatic-14.0.5.ebuild | 47 |
2 files changed, 54 insertions, 1 deletions
diff --git a/sci-mathematics/mathomatic/ChangeLog b/sci-mathematics/mathomatic/ChangeLog index eaea8e76b2d6..52423224c1da 100644 --- a/sci-mathematics/mathomatic/ChangeLog +++ b/sci-mathematics/mathomatic/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/mathomatic # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/ChangeLog,v 1.31 2008/05/17 18:02:10 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/ChangeLog,v 1.32 2008/06/19 12:04:31 bicatali Exp $ + +*mathomatic-14.0.5 (19 Jun 2008) + + 19 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> + +mathomatic-14.0.5.ebuild: + Version bump 17 May 2008; nixnut <nixnut@gentoo.org> mathomatic-12.9.1.ebuild: Stable on ppc wrt bug 216164 diff --git a/sci-mathematics/mathomatic/mathomatic-14.0.5.ebuild b/sci-mathematics/mathomatic/mathomatic-14.0.5.ebuild new file mode 100644 index 000000000000..64d6f44e9a3f --- /dev/null +++ b/sci-mathematics/mathomatic/mathomatic-14.0.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-14.0.5.ebuild,v 1.1 2008/06/19 12:04:31 bicatali Exp $ + +inherit eutils + +DESCRIPTION="Automatic algebraic manipulator" +HOMEPAGE="http://www.mathomatic.com/" +SRC_URI="http://www.panix.com/~gesslein/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND="sys-libs/readline + sys-libs/ncurses" + +src_compile() { + # respect user flags + sed -i \ + -e '/^CFLAGS/ s/-O.//' \ + -e '/^LDFLAGS/s/+= -lm/:= -lm $(LDFLAGS)/' \ + makefile primes/makefile || die "sed failed" + emake READLINE=1 || die "emake failed" + emake -C primes || die "emake in primes failed" +} + +src_test() { + emake test || die "emake test failed" + emake -C primes test || die "emake test in primes failed" +} + +src_install() { + # It was easier just to install the files manually + dobin mathomatic primes/matho-{primes,pascal,sumsq} || die + dodoc changes.txt README.txt AUTHORS || die + doman mathomatic.1 primes/*.1 || die + doicon mathomatic.png || die + domenu mathomatic.desktop || die + newdoc primes/README.txt README-primes.txt || die + if use doc; then + dohtml doc/* || die + insinto /usr/share/doc/${PF} + doins -r tests factorial m4 || die + fi +} |