diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 6 deletions
@@ -1,14 +1,13 @@ pkgbase = hdf4 pkgdesc = General purpose library and file format for storing scientific data (full version including the FORTRAN and the Java Native Interfaces - JNI) pkgver = 4.2.14 - pkgrel = 2 + pkgrel = 3 url = https://portal.hdfgroup.org/display/support/HDF+4.2.14 arch = x86_64 license = custom makedepends = java-environment makedepends = gcc-fortran depends = libaec - depends = zlib depends = libjpeg-turbo depends = libtirpc provides = hdf4-java @@ -5,12 +5,12 @@ pkgname=hdf4 pkgver=4.2.14 -pkgrel=2 +pkgrel=3 pkgdesc="General purpose library and file format for storing scientific data (full version including the FORTRAN and the Java Native Interfaces - JNI)" arch=('x86_64') url="https://portal.hdfgroup.org/display/support/HDF+4.2.14" license=('custom') -depends=('libaec' 'zlib' 'libjpeg-turbo' 'libtirpc') +depends=('libaec' 'libjpeg-turbo' 'libtirpc') makedepends=('java-environment' 'gcc-fortran') conflicts=('hdf4-java') provides=('hdf4-java') @@ -21,7 +21,7 @@ md5sums=('3f3bd5da84015e9221d26fb5a80094b4' 'e17d14ac1d27012c1ea9ac03f783d355') prepare() { - [ ! -d build ] && mkdir -p build + mkdir -p build cd "hdf-${pkgver}" patch < "${srcdir}/config.patch" autoreconf -i @@ -32,10 +32,14 @@ build() { "${srcdir}/hdf-${pkgver}"/configure \ CFLAGS="${CFLAGS} -fPIC" \ + FFLAGS="${FFLAGS} -fPIC -ffixed-line-length-none" \ LIBS="-ljpeg -laec -lsz" \ F77=gfortran \ JAVADOC='javadoc -Xdoclint:none' \ - --enable-fortran \ + --enable-shared \ + --disable-static \ + --disable-fortran \ + --disable-netcdf \ --enable-java \ --enable-production \ --with-zlib \ |