Created
May 12, 2011 12:01
-
-
Save anonymous/968372 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Nicolas Barbey <nicolas.a.barbey@gmail.com> | |
pkgname=python-gnudatalanguage | |
pkgver=0.9.1 | |
pkgrel=1 | |
pkgdesc="An IDL (Interactive Data Language) compatible incremental compiler (ie. runs IDL programs)" | |
arch=('i686' 'x86_64') | |
url="http://gnudatalanguage.sourceforge.net/" | |
license=('GPL') | |
depends=('python2' 'python2-numpy' 'plplot' 'gsl' 'imagemagick>=6.4.0.2' 'readline' 'hdf5' 'netcdf' \ | |
'wxgtk' 'fftw' 'udunits') | |
makedepends=('python-numarray') | |
options=('!makeflags') | |
source=(http://downloads.sourceforge.net/gnudatalanguage/gdl-${pkgver}.tar.gz gdl.profile) | |
md5sums=('be576675aa1c37f0c1a2b1eb8889a960' | |
'f09b277f4b4fee3bedcc57c5add1ffe7') | |
build() { | |
cd ${startdir}/src/gdl-${pkgver} | |
aclocal | |
autoconf | |
libtoolize --copy --force | |
./configure --prefix=/usr --enable-python_module --with-python --enable-python_version=2.7 --with-Magick --with-fftw \ | |
--with-hdf5 --with-udunits --without-hdf CPPFLAGS="${CPPFLAGS} -I/usr/include/ImageMagick \ | |
-I/usr/include/python2.7 -I/usr/lib/python2.7/site-packages/numpy/core/include" | |
make || return 1 | |
make DESTDIR=${startdir}/pkg install | |
install -d ${startdir}/pkg/usr/lib/gdl | |
cp -r src/pro/* ${startdir}/pkg/usr/lib/gdl | |
chmod -R 644 ${startdir}/pkg/usr/lib/gdl | |
install -D -m755 ../gdl.profile ${startdir}/pkg/etc/profile.d/gdl.sh | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment