summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-11-05 11:54:55 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-11-05 11:54:55 +0000
commitc6b34c53a1ab37a09c2f9cd76e092d138b9a0e80 (patch)
tree604ef73cc5089450ccfa009fb6e5de4d4983c25e /dev-lang
parentStable for HPPA (bug #196860). (diff)
downloadgentoo-2-c6b34c53a1ab37a09c2f9cd76e092d138b9a0e80.tar.gz
gentoo-2-c6b34c53a1ab37a09c2f9cd76e092d138b9a0e80.tar.bz2
gentoo-2-c6b34c53a1ab37a09c2f9cd76e092d138b9a0e80.zip
Version bump
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/gdl/ChangeLog8
-rw-r--r--dev-lang/gdl/files/digest-gdl-0.9_pre63
-rw-r--r--dev-lang/gdl/files/gdl-0.9_pre6-proj4.patch39
-rw-r--r--dev-lang/gdl/gdl-0.9_pre6.ebuild74
4 files changed, 123 insertions, 1 deletions
diff --git a/dev-lang/gdl/ChangeLog b/dev-lang/gdl/ChangeLog
index e76a9ddc5a30..4856437e39a0 100644
--- a/dev-lang/gdl/ChangeLog
+++ b/dev-lang/gdl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/gdl
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.3 2007/08/21 08:58:21 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.4 2007/11/05 11:54:54 bicatali Exp $
+
+*gdl-0.9_pre6 (05 Nov 2007)
+
+ 05 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/gdl-0.9_pre6-proj4.patch, +gdl-0.9_pre6.ebuild:
+ Version bump
*gdl-0.9_pre5 (21 Aug 2007)
diff --git a/dev-lang/gdl/files/digest-gdl-0.9_pre6 b/dev-lang/gdl/files/digest-gdl-0.9_pre6
new file mode 100644
index 000000000000..1328cd47d0ad
--- /dev/null
+++ b/dev-lang/gdl/files/digest-gdl-0.9_pre6
@@ -0,0 +1,3 @@
+MD5 5830539e7301f049f27f2a112467fab3 gdl-0.9pre6.tar.gz 1183644
+RMD160 b8d59a06adba8be864d0cdbd00eb8bf677a2093b gdl-0.9pre6.tar.gz 1183644
+SHA256 a6a597f2cb5fea889b32f99fba595c3535e47ee219a334fd274ab704133e35ea gdl-0.9pre6.tar.gz 1183644
diff --git a/dev-lang/gdl/files/gdl-0.9_pre6-proj4.patch b/dev-lang/gdl/files/gdl-0.9_pre6-proj4.patch
new file mode 100644
index 000000000000..001036f21189
--- /dev/null
+++ b/dev-lang/gdl/files/gdl-0.9_pre6-proj4.patch
@@ -0,0 +1,39 @@
+--- configure.orig 2007-11-05 11:31:21.378858885 +0000
++++ configure 2007-11-05 11:32:50.947161645 +0000
+@@ -20370,20 +20370,20 @@
+
+ if test "x$with_libproj4" != "xno"; then
+ if test "x$with_libproj4" != "xyes"; then
+- LIBS="$LIBS -L$with_libproj4/lib -lproj4"
++ LIBS="$LIBS -L$with_libproj4/lib -lproj"
+ INCLUDES="$INCLUDES -I$with_libproj4/include"
+ else
+ INCLUDES="$INCLUDES -I/usr/include"
+- LIBS="$LIBS -lproj4"
++ LIBS="$LIBS -lproj"
+ fi
+
+- echo "$as_me:$LINENO: checking for pj_init in -lproj4" >&5
+-echo $ECHO_N "checking for pj_init in -lproj4... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for pj_init in -lproj" >&5
++echo $ECHO_N "checking for pj_init in -lproj... $ECHO_C" >&6
+ if test "${ac_cv_lib_proj4_pj_init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lproj4 $LIBS"
++LIBS="-lproj $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+--- src/math_utl.hpp.orig 2007-11-05 11:35:17.000000000 +0000
++++ src/math_utl.hpp 2007-11-05 11:35:44.000000000 +0000
+@@ -42,7 +42,7 @@
+ #define COMPLEX COMPLEX2
+
+ extern "C" {
+-#include "lib_proj.h"
++#include "projects.h"
+ }
+
+ PJ *map_init();
diff --git a/dev-lang/gdl/gdl-0.9_pre6.ebuild b/dev-lang/gdl/gdl-0.9_pre6.ebuild
new file mode 100644
index 000000000000..8d1f4ae349cb
--- /dev/null
+++ b/dev-lang/gdl/gdl-0.9_pre6.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9_pre6.ebuild,v 1.1 2007/11/05 11:54:54 bicatali Exp $
+
+inherit eutils flag-o-matic
+
+MYP=${P/_/}
+DESCRIPTION="An Interactive Data Language compatible incremental compiler"
+LICENSE="GPL-2"
+HOMEPAGE="http://gnudatalanguage.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gnudatalanguage/${MYP}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python fftw hdf hdf5 netcdf imagemagick proj"
+
+RDEPEND=">=sys-libs/readline-4.3
+ sci-libs/gsl
+ >=sci-libs/plplot-5.3
+ imagemagick? ( media-gfx/imagemagick )
+ hdf? ( sci-libs/hdf )
+ hdf5? ( sci-libs/hdf5 )
+ netcdf? ( sci-libs/netcdf )
+ python? ( virtual/python
+ dev-python/numarray
+ dev-python/matplotlib )
+ fftw? ( >=sci-libs/fftw-3 )
+ proj? ( sci-libs/proj )"
+
+DEPEND="${RDEPEND}
+ sys-devel/libtool"
+
+S="${WORKDIR}/${MYP}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-proj4.patch
+}
+
+src_compile() {
+ use proj && append-cppflags -DPJ_LIB__
+ econf \
+ $(use_with python) \
+ $(use_with fftw) \
+ $(use_with hdf) \
+ $(use_with hdf5) \
+ $(use_with netcdf) \
+ $(use_with imagemagick Magick) \
+ $(use_with proj libproj4) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_test() {
+ cd "${S}"/testsuite
+ PATH="${S}"/src gdl <<EOF
+test_suite
+EOF
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ insinto /usr/share/${PN}
+ doins -r src/pro src/py || die "install pro and py files failed"
+ dodoc README PYTHON.txt AUTHORS ChangeLog NEWS TODO HACKING || die
+
+ # add GDL provided routines to IDL_PATH
+ echo "GDL_STARTUP=/usr/share/${PN}/pro" > 99gdl
+ echo "GDL_PATH=/usr/share/${PN}" >> 99gdl
+ doenvd 99gdl
+}