1 # Maintainer: David Scholl <djscholl at gmail dot com>
5 pkgdesc="General purpose library and file format for storing scientific data."
7 url="http://www.hdfgroup.org/hdf4.html"
9 depends=('zlib' 'libjpeg-turbo')
10 makedepends=('gcc-libs' 'gcc-fortran' 'flex' 'bison')
12 source=(http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/hdf-4.$pkgver.tar.gz)
13 md5sums=('e8fdfa1ec925d7d85f5215f5027d27c0')
16 cd $srcdir/hdf-4.$pkgver
17 export CFLAGS=$CFLAGS" -fPIC"
18 export LDFLAGS=" -l:libjpeg.so.8 "$LDFLAGS
19 ./configure --prefix=/usr F77=gfortran
21 make prefix=$pkgdir/usr install || return 1
22 mkdir -p $pkgdir/usr/share/licenses/$pkgname
23 cp $srcdir/hdf-4.$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname