diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-12-04 11:45:19 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-12-04 11:45:19 +0000 |
commit | 0fc89f61ed66f74ce56868dad5026c60dc734a22 (patch) | |
tree | 62f6511cff99ce08e7ac806760c455adee75dbe3 /sci-mathematics/gretl | |
parent | Version bump (diff) | |
download | gentoo-2-0fc89f61ed66f74ce56868dad5026c60dc734a22.tar.gz gentoo-2-0fc89f61ed66f74ce56868dad5026c60dc734a22.tar.bz2 gentoo-2-0fc89f61ed66f74ce56868dad5026c60dc734a22.zip |
Version bump
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'sci-mathematics/gretl')
-rw-r--r-- | sci-mathematics/gretl/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/gretl/files/digest-gretl-1.7.0 | 3 | ||||
-rw-r--r-- | sci-mathematics/gretl/gretl-1.6.5.ebuild | 14 | ||||
-rw-r--r-- | sci-mathematics/gretl/gretl-1.7.0.ebuild | 87 |
4 files changed, 104 insertions, 8 deletions
diff --git a/sci-mathematics/gretl/ChangeLog b/sci-mathematics/gretl/ChangeLog index 0b4a4fa6b710..56e3a5a7487b 100644 --- a/sci-mathematics/gretl/ChangeLog +++ b/sci-mathematics/gretl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/gretl # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.3 2007/11/22 00:23:50 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.4 2007/12/04 11:45:18 bicatali Exp $ + +*gretl-1.7.0 (04 Dec 2007) + + 04 Dec 2007; Sébastien Fabbro <bicatali@gentoo.org> gretl-1.6.5.ebuild, + +gretl-1.7.0.ebuild: + Version bump 21 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org> gretl-1.6.5.ebuild: Now force nls (see bug #198720), and do not force both shared and static (do it diff --git a/sci-mathematics/gretl/files/digest-gretl-1.7.0 b/sci-mathematics/gretl/files/digest-gretl-1.7.0 new file mode 100644 index 000000000000..2d8d4956c9e3 --- /dev/null +++ b/sci-mathematics/gretl/files/digest-gretl-1.7.0 @@ -0,0 +1,3 @@ +MD5 728b3ed6a26a9c05f48fbc286b9fa06c gretl-1.7.0.tar.bz2 4701532 +RMD160 8722044b89a3a34f87532cd9b6367cbfb459b6b7 gretl-1.7.0.tar.bz2 4701532 +SHA256 388b6d37be3ef5a4f1333a568cbc5566199c2de872853e50216101241148eddc gretl-1.7.0.tar.bz2 4701532 diff --git a/sci-mathematics/gretl/gretl-1.6.5.ebuild b/sci-mathematics/gretl/gretl-1.6.5.ebuild index 36957f9d6517..7ecfdcd96cef 100644 --- a/sci-mathematics/gretl/gretl-1.6.5.ebuild +++ b/sci-mathematics/gretl/gretl-1.6.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.6.5.ebuild,v 1.3 2007/11/22 00:23:50 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.6.5.ebuild,v 1.4 2007/12/04 11:45:18 bicatali Exp $ inherit eutils gnome2 @@ -26,12 +26,12 @@ RDEPEND="dev-libs/libxml2 readline? ( sys-libs/readline ) gmp? ( dev-libs/gmp ) accessibility? ( app-accessibility/flite ) - gtk? ( >=x11-libs/gtk+-2.0 - gnome? ( >=gnome-base/libgnomeui-2.0 - >=gnome-base/libgnomeprint-2.2 - >=gnome-base/libgnomeprintui-2.2 - >=gnome-base/gconf-2.0 ) - sourceview? ( x11-libs/gtksourceview ) )" + gtk? ( >=x11-libs/gtk+-2.0 ) + gnome? ( >=gnome-base/libgnomeui-2.0 + >=gnome-base/libgnomeprint-2.2 + >=gnome-base/libgnomeprintui-2.2 + >=gnome-base/gconf-2.0 ) + sourceview? ( x11-libs/gtksourceview )" DEPEND="${RDEPEND} dev-util/pkgconfig" diff --git a/sci-mathematics/gretl/gretl-1.7.0.ebuild b/sci-mathematics/gretl/gretl-1.7.0.ebuild new file mode 100644 index 000000000000..301211151c35 --- /dev/null +++ b/sci-mathematics/gretl/gretl-1.7.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.7.0.ebuild,v 1.1 2007/12/04 11:45:18 bicatali Exp $ + +inherit eutils gnome2 + +DESCRIPTION="Regression, econometrics and time-series library" +HOMEPAGE="http://gretl.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="accessibility gmp gnome gtk nls png readline sourceview" + +RDEPEND="dev-libs/libxml2 + >=dev-libs/glib-2 + sci-visualization/gnuplot + virtual/lapack + >=sci-libs/fftw-3 + dev-libs/mpfr + png? ( media-libs/libpng ) + readline? ( sys-libs/readline ) + gmp? ( dev-libs/gmp ) + accessibility? ( app-accessibility/flite ) + gtk? ( >=x11-libs/gtk+-2.0 ) + gnome? ( >=gnome-base/libgnomeui-2.0 + >=gnome-base/libgnomeprint-2.2 + >=gnome-base/libgnomeprintui-2.2 + >=gnome-base/gconf-2.0 ) + sourceview? ( x11-libs/gtksourceview )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + # makefile in cli not propagating flags + epatch "${FILESDIR}"/${PN}-1.6.5-cli.patch +} + +src_compile() { + + local myconf + if use gtk; then + if ! built_with_use sci-visualization/gnuplot gd; then + eerror "You need to build gnuplot with gd and png to use the gretl gtk GUI" + die "configuring with gnuplot failed" + fi + myconf="--enable-gui" + myconf="${myconf} $(use_with sourceview gtksourceview)" + myconf="${myconf} $(use_with gnome)" + else + myconf="--disable-gui --disable-gnome --disable-gtksourceview" + fi + + econf \ + --with-mpfr \ + --without-libole2 \ + --without-gtkextra \ + $(use_enable nls) \ + $(use_enable png png-comments) \ + $(use_with readline) \ + $(use_with gmp) \ + $(use_with accessibility audio) \ + ${myconf} \ + LAPACK_LIBS="$(pkg-config --libs lapack)" \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + if use gnome; then + gnome2_src_install gnome_prefix="${D}"/usr + else + einstall || "die einstall failed" + fi + if use gtk && ! use gnome; then + doicon gnome/gretl.png + make_desktop_entry gretlx11 gretl + fi + dodoc NEWS README README.audio ChangeLog TODO EXTENDING \ + || die "dodoc failed" +} |