summaryrefslogtreecommitdiff
path: root/hdf4
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-02 13:42:30 +0100
committerErich Eckner <git@eckner.net>2020-03-02 13:42:30 +0100
commit9d15728fc2656a20d4d9295e52ce70f81515c9d2 (patch)
tree2ddbcbeac42514c324e77300f297a947dbab0cc4 /hdf4
parent3febaf80ab7211a07538b329fd2dd91519f04a09 (diff)
downloadarchlinuxewe-9d15728fc2656a20d4d9295e52ce70f81515c9d2.tar.xz
neutrino, hdf4 removed
Diffstat (limited to 'hdf4')
-rwxr-xr-xhdf4/PKGBUILD39
-rw-r--r--hdf4/config.patch14
2 files changed, 0 insertions, 53 deletions
diff --git a/hdf4/PKGBUILD b/hdf4/PKGBUILD
deleted file mode 100755
index 2004a68eb..000000000
--- a/hdf4/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Contributor: David Scholl <djscholl at gmail dot com>
-pkgname=hdf4
-pkgver=2.14
-pkgrel=5
-pkgdesc="General purpose library and file format for storing scientific data."
-arch=('i686' 'pentium4' 'x86_64')
-url="http://www.hdfgroup.org/hdf4.html"
-license=('custom')
-depends=('zlib' 'libjpeg-turbo')
-makedepends=('gcc-libs' 'gcc-fortran' 'flex' 'bison')
-conflicts=('netcdf')
-source=(
- "https://support.hdfgroup.org/ftp/HDF/releases/HDF4.${pkgver}/src/hdf-4.${pkgver}.tar.bz2"
- 'config.patch'
-)
-sha512sums=('5689525e18bfc6be205a0a21cded68d66630020c9a1445ce5afae41d58246e26ed9ba349da1bb197c31557aba127f51a2b697a868ec7e2747ac6153858171718'
- '7c05f0bcaf769723e8dc4dcb05e9ec2d59516c3c1ab4be5a9948632c24e5e43677b4a732de72574075928aae3f15cc2dcb75b8f22f02d6b97d4c6d905cfb964b')
-
-prepare() {
- cd "$srcdir/hdf-4.$pkgver"
- patch -p3 -i "${srcdir}/config.patch"
- autoreconf -i
-}
-
-build() {
- cd "$srcdir/hdf-4.$pkgver"
- export CFLAGS="$CFLAGS -fPIC"
- export LDFLAGS=" -l:libjpeg.so.8 $LDFLAGS"
- ./configure --prefix=/usr F77=gfortran
- make
-}
-package() {
- cd "$srcdir/hdf-4.$pkgver"
- make prefix="$pkgdir/usr" install
- mkdir -p "$pkgdir/usr/share/doc/$pkgname"
- mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
- cp "$srcdir/hdf-4.$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname"
-}
diff --git a/hdf4/config.patch b/hdf4/config.patch
deleted file mode 100644
index c76492386..000000000
--- a/hdf4/config.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/hdf-4.2.13/configure.ac b/src/hdf-4.2.13/configure.ac
-index 3030bad..6d7f654 100644
---- a/src/hdf-4.2.13/configure.ac
-+++ b/src/hdf-4.2.13/configure.ac
-@@ -685,6 +685,9 @@ case "$host" in
- *-pc-cygwin*)
- LIBS="$LIBS -ltirpc"
- CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc" ;;
-+ *-linux-gnu*)
-+ LIBS="$LIBS -ltirpc"
-+ CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc" ;;
- *) ;;
- esac
-