diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-04-12 12:58:37 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-04-12 12:58:37 +0200 |
commit | 92857cf065f83fd25c2a2f2635a29cfb429597db (patch) | |
tree | f516d5d07bf38451224d973e4933fc850bae2a80 /hdf4 | |
parent | ccb2951fd4d65045754d1a0de1e3168995a904a6 (diff) | |
download | archlinuxewe-92857cf065f83fd25c2a2f2635a29cfb429597db.tar.xz |
recursively remove all unneeded packages
Diffstat (limited to 'hdf4')
-rwxr-xr-x | hdf4/PKGBUILD | 74 | ||||
-rw-r--r-- | hdf4/config.patch | 14 |
2 files changed, 0 insertions, 88 deletions
diff --git a/hdf4/PKGBUILD b/hdf4/PKGBUILD deleted file mode 100755 index b237ba226..000000000 --- a/hdf4/PKGBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: George Eleftheriou <eleftg> -# Contributor: XavierCLL <xavier dot corredor dot llano at gmail dot com> -# Contributor: Jingbei Li <petronny> -# Contributor: David Scholl <djscholl at gmail dot com> -pkgname=hdf4 -pkgver=2.15 -pkgrel=15 -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') -_pinned_dependencies=( - 'glibc>=2.31' - 'libaec=1.0.6' - 'libjpeg.so=8' - 'libtirpc=1.3.3' - 'zlib=1:1.2.13' -) -_pinned_dependencies_i686=( - 'gcc-libs=12.2.1' -) -_pinned_dependencies_pentium4=( - 'gcc-libs=12.2.1' -) -depends=('java-environment' "${_pinned_dependencies[@]}") -depends_i686=("${_pinned_dependencies_i686[@]}") -depends_pentium4=("${_pinned_dependencies_pentium4[@]}") -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") -sha512sums=('7d4037800ef8950ed74f225355ef5458444bed26fc189fbbd2ce7d36009998013ac1f6ba5d4e60834acf8f6f73550357238745acc35e162679919400a48191e9') - -conflicts=('hdf4-java') -provides=('hdf4-java') -replaces=('hdf4-java') - -prepare() { - mkdir -p build - cd "hdf-4.${pkgver}" - autoreconf -i -} - -build() { - cd build - - "../hdf-4.${pkgver}"/configure \ - CFLAGS="${CFLAGS} -fPIC" \ - CPPFLAGS="${CPPFLAGS} -I/usr/include/tirpc/" \ - LDFLAGS="${LDFLAGS} -ltirpc" \ - FFLAGS="${FFLAGS} -fPIC -ffixed-line-length-none" \ - LIBS="${LIBS} -ljpeg -laec -lsz" \ - JAVADOC='javadoc -Xdoclint:none' \ - --enable-shared \ - --disable-static \ - --disable-fortran \ - --disable-netcdf \ - --enable-java \ - --enable-production \ - --with-zlib \ - --with-szlib=/usr \ - --prefix=/opt/hdf4 - make -} - -package() { - cd build - make -j1 DESTDIR="${pkgdir}" install - install -dm 755 "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm 644 "../hdf-4.${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}" - install -dm 755 "${pkgdir}/etc/ld.so.conf.d" - echo "/opt/${pkgname}/lib" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf -} - 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 - |