aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-08-01 16:26:42 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-08-01 16:26:42 +0000
commite91a39900397e5d6d946e990a37f510dc1b9ee49 (patch)
tree99e45819a0517355ea049b77c8491224524a0237
parentdev-python/pygsl: pygsl: version bump (diff)
downloadsci-e91a39900397e5d6d946e990a37f510dc1b9ee49.tar.gz
sci-e91a39900397e5d6d946e990a37f510dc1b9ee49.tar.bz2
sci-e91a39900397e5d6d946e990a37f510dc1b9ee49.zip
dev-lang/gdl: gdl: version update
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@670 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r--dev-lang/gdl/Manifest16
-rw-r--r--dev-lang/gdl/files/digest-gdl-0.9_pre53
-rw-r--r--dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch39
-rw-r--r--dev-lang/gdl/gdl-0.9_pre5.ebuild75
-rw-r--r--dev-lang/gdl/metadata.xml14
5 files changed, 147 insertions, 0 deletions
diff --git a/dev-lang/gdl/Manifest b/dev-lang/gdl/Manifest
new file mode 100644
index 000000000..5d9fd3b78
--- /dev/null
+++ b/dev-lang/gdl/Manifest
@@ -0,0 +1,16 @@
+AUX gdl-0.9_pre5-proj4.patch 1215 RMD160 d82806674601555145d6b2e3deb3bd637f8d52ec SHA1 85cecd68c965ede96615ba6ca3e3ce9d87ce5600 SHA256 6767956f44e1c3d8bf2d137e6348d06bbcd8ee5f340ca3ab1c3d6b881b050931
+MD5 a224ede4b5b2a160d20e81e65b09424c files/gdl-0.9_pre5-proj4.patch 1215
+RMD160 d82806674601555145d6b2e3deb3bd637f8d52ec files/gdl-0.9_pre5-proj4.patch 1215
+SHA256 6767956f44e1c3d8bf2d137e6348d06bbcd8ee5f340ca3ab1c3d6b881b050931 files/gdl-0.9_pre5-proj4.patch 1215
+DIST gdl-0.9pre5.tar.gz 1131751 RMD160 458bf014c909e43bfe6bdf5f5c834bcbbd48dd52 SHA1 2df7c0fd619b78c8c59052306348dfd665f9e0e7 SHA256 81121a4e7e217dc986b4827ce690a8650f264dd648108ffde8f1eb77633d41cb
+EBUILD gdl-0.9_pre5.ebuild 1637 RMD160 f9351c07fbfaff9e76d48219d507cc2c2ae9861a SHA1 e0b5e35aa42fcafda2fc4066f38cf7001461f02b SHA256 d083c0196c91931c53f11183329d2d0fb655da86bccf506e016f79bf1e4c4f33
+MD5 bc41e14e220a26b2e370a17d3140e659 gdl-0.9_pre5.ebuild 1637
+RMD160 f9351c07fbfaff9e76d48219d507cc2c2ae9861a gdl-0.9_pre5.ebuild 1637
+SHA256 d083c0196c91931c53f11183329d2d0fb655da86bccf506e016f79bf1e4c4f33 gdl-0.9_pre5.ebuild 1637
+MISC metadata.xml 465 RMD160 6a916eadbb20bfec9af5dd276967d236e946b87e SHA1 5ae91cde758c6a9ec3532914fd63a2584aa42060 SHA256 3922d11656f03d422639ae3bfbcc74eb47044292687d63c2a80379b994a083bb
+MD5 c25a583fd369c7fd737b304d8bd071d3 metadata.xml 465
+RMD160 6a916eadbb20bfec9af5dd276967d236e946b87e metadata.xml 465
+SHA256 3922d11656f03d422639ae3bfbcc74eb47044292687d63c2a80379b994a083bb metadata.xml 465
+MD5 392c12bafab1b5879f74cd55829e29f3 files/digest-gdl-0.9_pre5 238
+RMD160 99a650a2e87d4ab3255112fd896034037522451f files/digest-gdl-0.9_pre5 238
+SHA256 e405d55f3a2b9860b1771d84c307d9f23e9d9406e31697bd25de10e101916790 files/digest-gdl-0.9_pre5 238
diff --git a/dev-lang/gdl/files/digest-gdl-0.9_pre5 b/dev-lang/gdl/files/digest-gdl-0.9_pre5
new file mode 100644
index 000000000..5931529ff
--- /dev/null
+++ b/dev-lang/gdl/files/digest-gdl-0.9_pre5
@@ -0,0 +1,3 @@
+MD5 d2a740ba633ff7ace23f452d34a9c42c gdl-0.9pre5.tar.gz 1131751
+RMD160 458bf014c909e43bfe6bdf5f5c834bcbbd48dd52 gdl-0.9pre5.tar.gz 1131751
+SHA256 81121a4e7e217dc986b4827ce690a8650f264dd648108ffde8f1eb77633d41cb gdl-0.9pre5.tar.gz 1131751
diff --git a/dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch b/dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch
new file mode 100644
index 000000000..c3991aba1
--- /dev/null
+++ b/dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch
@@ -0,0 +1,39 @@
+--- configure.orig 2007-07-05 20:53:22.000000000 +0100
++++ configure 2007-08-01 11:42:25.853492000 +0100
+@@ -20805,20 +20805,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-07-05 19:09:24.000000000 +0100
++++ src/math_utl.hpp 2007-08-01 12:33:11.118722250 +0100
+@@ -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_pre5.ebuild b/dev-lang/gdl/gdl-0.9_pre5.ebuild
new file mode 100644
index 000000000..e6a7006aa
--- /dev/null
+++ b/dev-lang/gdl/gdl-0.9_pre5.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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 )
+ 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
+ doins -r src/py
+ dodoc README PYTHON.txt AUTHORS ChangeLog NEWS TODO HACKING
+
+ # add GDL provided routines to IDL_PATH
+ echo "GDL_STARTUP=/usr/share/${PN}/pro" > 99gdl
+ echo "GDL_PATH=/usr/share/${PN}" >> 99gdl
+ doenvd 99gdl
+}
diff --git a/dev-lang/gdl/metadata.xml b/dev-lang/gdl/metadata.xml
new file mode 100644
index 000000000..ea422fac2
--- /dev/null
+++ b/dev-lang/gdl/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>markusle@gentoo.org</email>
+ <name>Markus Dittrich</name>
+ </maintainer>
+ <herd>sci</herd>
+<longdescription lang="en">
+A free IDL (Interactive Data Language) compatible incremental compiler
+(ie. runs IDL programs). IDL is a registered trademark of ITT Visual
+Information Solutions.
+</longdescription>
+</pkgmetadata>