summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-11-19 07:14:06 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-11-19 07:14:06 +0000
commit616d3b92b021d38f644804b908d014fbe088e176 (patch)
tree0a585d9536480483626dea3477869538ee5b39ae /sci-mathematics/gretl
parentBump to 0.10.30. No major changes. (diff)
downloadhistorical-616d3b92b021d38f644804b908d014fbe088e176.tar.gz
historical-616d3b92b021d38f644804b908d014fbe088e176.tar.bz2
historical-616d3b92b021d38f644804b908d014fbe088e176.zip
Version bump
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics/gretl')
-rw-r--r--sci-mathematics/gretl/ChangeLog7
-rw-r--r--sci-mathematics/gretl/Manifest12
-rw-r--r--sci-mathematics/gretl/gretl-1.9.2.ebuild121
3 files changed, 133 insertions, 7 deletions
diff --git a/sci-mathematics/gretl/ChangeLog b/sci-mathematics/gretl/ChangeLog
index adc54421d4e8..ca15b3b4a2bc 100644
--- a/sci-mathematics/gretl/ChangeLog
+++ b/sci-mathematics/gretl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/gretl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.25 2010/08/22 08:34:34 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.26 2010/11/19 07:14:06 bicatali Exp $
+
+*gretl-1.9.2 (19 Nov 2010)
+
+ 19 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> +gretl-1.9.2.ebuild:
+ Version bump
*gretl-1.9.0-r1 (22 Aug 2010)
diff --git a/sci-mathematics/gretl/Manifest b/sci-mathematics/gretl/Manifest
index 09d6b4175ba0..cdc96c7814ad 100644
--- a/sci-mathematics/gretl/Manifest
+++ b/sci-mathematics/gretl/Manifest
@@ -5,15 +5,15 @@ AUX 50gretl-gentoo.el 473 RMD160 3b16bc41fe78a2e8b02a6d02624e74ae1f9c656e SHA1 c
AUX gretl-1.7.5-locale.patch 223 RMD160 2f20cfdf293e12d739797a0424f825dbc4534547 SHA1 36ca4b139f733672a6935406b6058003db9c03a5 SHA256 4633076ed483a595968cb495ef50f72f1a7c5a398acd8ebda907c89fef87d861
AUX gretl-1.9.0-ldflags.patch 1064 RMD160 d8e4e969168af67b76fb60fa4b150b6351e99f02 SHA1 e833aa9bbf7fd00ec27c90846e039d97aca26636 SHA256 a5883dc6ce46c5892a7c2050689943f886197e23d0cdb106d0a50c354432e81d
DIST gretl-1.9.0.tar.bz2 7497022 RMD160 91a086e875d5d1eeae6e70e15cf504578ee70924 SHA1 f17a7dcd11633a629367f3018e54c821e1cd66cc SHA256 f95c9dc464559e19837e65cc6fef626e573b76c5213597216214407181109d94
+DIST gretl-1.9.2.tar.bz2 7747124 RMD160 5e68f0be9a524371d9be14ed8cb9aa65039ab90c SHA1 3fb3cb81985db6db88bc74f4d4ee07a4fc3479ec SHA256 bf77622fee0a839cfdaeeda673e2dfbbeba72969e9eac00b1818637bf573d858
EBUILD gretl-1.9.0-r1.ebuild 3240 RMD160 53482a0127a1d22e66e18118bc5c7926b07ac51d SHA1 ddc46771f5467de8cd8629bd69713c926ebf70ee SHA256 603428e951b0f4894667d06ddde9fbd99ec58e2ad38baa72465bfeb44e04ba28
-MISC ChangeLog 4785 RMD160 fe888cbccbfa174b6a37b05d1e0d10f39fcf4702 SHA1 e893de470228f1ef72bbc3e06576a659b08a071c SHA256 cb533f95d55fb4ce293d9a8f3f052264fcb835689874858ef12422bccae4ae82
+EBUILD gretl-1.9.2.ebuild 3074 RMD160 efbd768902707e1f33bfda47a63214547e59e958 SHA1 6ae51cba711fe5c17ad45e2b3bf8201e91bbf584 SHA256 5bc6fe5deb91bff481d47e13fef856489ae5a0bf27a039700a862e0728981ecf
+MISC ChangeLog 4903 RMD160 661f57be0887d2e8bc1a72c1896cf9b7db92b76d SHA1 545be61a38fe5fa066c3842dde532876893cff04 SHA256 8540738fde5ac883beb5c32f6fd5641084ae70503014e79169cd109bb1d88633
MISC metadata.xml 1019 RMD160 081129737d01e3b770f502faf5a58f6f7d038b00 SHA1 e4ac0899c6bb566adc9a390be56f81113a13b4db SHA256 ab32034694a6ec3b41bbae6c71eef42c6f64fafd79e79e2542843c5e9d3b8f03
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iJwEAQECAAYFAkxw4SMACgkQIiMqcbOVdxRG4QQAlQJtsc5l0JbDSY43eRlWIriQ
-0VAug42h66n5ezCZqfMsXAVFnZpR9gCETdKRauZxsDwSpNfAVoOxlp7h2VtZLAhA
-c/CWj8zpaJovh80ZaU1k6VJny1hx2Th+y+G6kazITCCfnQ0hwLbvamfjExW9VLj/
-nE7YIYxtjHuVhBIJU1E=
-=6I2o
+iEYEARECAAYFAkzmI8gACgkQ1ycZbhPLE2A3bACfa6u0DelIgZyNQcZ/vUBa01Pw
+QLQAnjdL1gdHY+rzoXHnl0I+ZhTTpI4Z
+=2IOq
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/gretl/gretl-1.9.2.ebuild b/sci-mathematics/gretl/gretl-1.9.2.ebuild
new file mode 100644
index 000000000000..aaf9ac806fcb
--- /dev/null
+++ b/sci-mathematics/gretl/gretl-1.9.2.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.2.ebuild,v 1.1 2010/11/19 07:14:06 bicatali Exp $
+
+USE_EINSTALL=true
+EAPI=2
+inherit eutils gnome2 elisp-common
+
+DESCRIPTION="Regression, econometrics and time-series library"
+HOMEPAGE="http://gretl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="accessibility emacs gnome gtk nls odbc openmp readline R sourceview static-libs"
+
+RDEPEND="dev-libs/libxml2
+ dev-libs/glib:2
+ >=sci-visualization/gnuplot-4.2
+ virtual/lapack
+ virtual/latex-base
+ sci-libs/fftw:3.0
+ dev-libs/gmp
+ dev-libs/mpfr
+ readline? ( sys-libs/readline )
+ accessibility? ( app-accessibility/flite )
+ gtk? ( sci-visualization/gnuplot[gd]
+ media-libs/gd[png]
+ x11-libs/gtk+:2 )
+ gnome? ( sci-visualization/gnuplot[gd]
+ media-libs/gd[png]
+ gnome-base/libgnomeui
+ gnome-base/libgnomeprint:2.2
+ gnome-base/libgnomeprintui:2.2
+ gnome-base/gconf:2 )
+ R? ( dev-lang/R )
+ sourceview? ( x11-libs/gtksourceview )
+ odbc? ( dev-db/unixODBC )
+ emacs? ( virtual/emacs )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+SITEFILE=50${PN}-gentoo.el
+
+pkg_setup() {
+ if use openmp &&
+ [[ $(tc-getCC)$ == *gcc* ]] &&
+ ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] ||
+ ! has_version sys-devel/gcc[openmp] )
+ then
+ ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 "
+ die "Need an OpenMP capable compiler"
+ fi
+}
+
+src_configure() {
+ local myconf
+ if use gtk; then
+ myconf="--enable-gui"
+ myconf="${myconf} $(use_with sourceview gtksourceview)"
+ myconf="${myconf} $(use_with gnome)"
+ else
+ myconf="--disable-gui --without-gnome --without-gtksourceview"
+ fi
+
+ econf \
+ --disable-rpath \
+ --enable-shared \
+ --with-mpfr \
+ $(use_enable nls) \
+ $(use_enable openmp) \
+ $(use_enable static-libs static) \
+ $(use_with readline) \
+ $(use_with odbc) \
+ $(use_with accessibility audio) \
+ $(use_with R libR) \
+ ${myconf} \
+ LAPACK_LIBS="$(pkg-config --libs lapack)"
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+ if use emacs; then
+ elisp-compile utils/emacs/gretl.el || die "elisp-compile failed"
+ fi
+}
+
+src_install() {
+ if use gnome; then
+ gnome2_src_install gnome_prefix="${D}"/usr svprefix="${D}usr"
+ else
+ einstall svprefix="${D}usr"
+ fi
+ if use gtk && ! use gnome; then
+ doicon gnome/gretl.png
+ make_desktop_entry gretl_x11 gretl
+ fi
+ if use emacs; then
+ elisp-install ${PN} utils/emacs/gretl.{el,elc} \
+ || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+ fi
+ dodoc README README.audio ChangeLog CompatLog
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elisp-site-regen
+ elog "To begin using gretl-mode for all \".inp\" files that you edit,"
+ elog "add the following line to your \"~/.emacs\" file:"
+ elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}