[arch-commits] Commit in (hdf5_18 hdf5_18/repos hdf5_18/trunk hdf5_18/trunk/PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Tue May 24 11:31:58 UTC 2016
Date: Tuesday, May 24, 2016 @ 13:31:57
Author: ronald
Revision: 268529
add old hdf5 package due to some packages not working correctly with the latest version
Added:
hdf5_18/
hdf5_18/repos/
hdf5_18/trunk/
hdf5_18/trunk/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
Added: hdf5_18/trunk/PKGBUILD
===================================================================
--- hdf5_18/trunk/PKGBUILD (rev 0)
+++ hdf5_18/trunk/PKGBUILD 2016-05-24 11:31:57 UTC (rev 268529)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=hdf5_18
+_pkgname=hdf5
+pkgver=1.8.16
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="General purpose library and file format for storing scientific data"
+url="http://www.hdfgroup.org/HDF5/"
+license=('custom')
+depends=('zlib' 'sh')
+makedepends=('time')
+source=(ftp://ftp.hdfgroup.org/HDF5/current/src/${_pkgname}-${pkgver/_/-}.tar.bz2)
+sha1sums=('a7b631778cb289edec670f665d2c3265983a0d53')
+
+build() {
+ cd "$srcdir/${_pkgname}-${pkgver/_/-}"
+
+ ./configure --prefix=/usr --disable-static \
+ --disable-hl \
+ --enable-threadsafe \
+ --enable-linux-lfs \
+ --enable-production \
+ --with-pic \
+ --docdir=/usr/share/doc/hdf5_18/ \
+ --with-pthread=/usr/lib \
+ --disable-sharedlib-rpath \
+ --libdir=/usr/lib/hdf5_18 \
+ --includedir=/usr/include/hdf5_18
+ make
+
+}
+
+package() {
+ cd "$srcdir/${_pkgname}-${pkgver/_/-}"
+
+ make -j1 DESTDIR="${pkgdir}" install
+
+ # don't install examples
+ rm -rf "${pkgdir}"/usr/share/hdf5_examples
+
+ # rename executables to not conflict with hdf5 package
+ for file in "${pkgdir}"/usr/bin/*; do
+ mv "${file}" "${file}"_18
+ done
+
+ #
+ install -d m755 "${pkgdir}"/etc/ld.so.conf.d
+ echo /usr/lib/hdf5_18 >> "${pkgdir}"/etc/ld.so.conf.d/hdf5_18.conf
+
+ # install license
+ install -d -m755 "$pkgdir/usr/share/licenses/${pkgname}"
+ install -m644 "$srcdir/${_pkgname}-${pkgver/_/-}/COPYING" \
+ "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+
+}
+
Property changes on: hdf5_18/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list