summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgios Eleftheriou2018-11-05 07:47:57 +0100
committerGeorgios Eleftheriou2018-11-05 07:47:57 +0100
commit998afe648ce3a432c22ae5808c9cbe2fc5a719b2 (patch)
treeead4369479decb64154f305ec701b0b056e80b04
parentccb634937c65e1fe87673fed6d1b29d7f0ed08cc (diff)
downloadaur-998afe648ce3a432c22ae5808c9cbe2fc5a719b2.tar.gz
changes proposed by XavierCLL
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4eadbcc2e168..8dad020635d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index ff76c9303f54..ec8aac983863 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 \