[arch-commits] Commit in hdf5_18/repos (4 files)

Ronald van Haren ronald at archlinux.org
Tue May 24 11:41:01 UTC 2016


    Date: Tuesday, May 24, 2016 @ 13:41:01
  Author: ronald
Revision: 268531

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  hdf5_18/repos/extra-i686/
  hdf5_18/repos/extra-i686/PKGBUILD
    (from rev 268530, hdf5_18/trunk/PKGBUILD)
  hdf5_18/repos/extra-x86_64/
  hdf5_18/repos/extra-x86_64/PKGBUILD
    (from rev 268530, hdf5_18/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   61 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   61 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 122 insertions(+)

Copied: hdf5_18/repos/extra-i686/PKGBUILD (from rev 268530, hdf5_18/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-05-24 11:41:01 UTC (rev 268531)
@@ -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.17
+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=('640f1a46cb1b353339695355b4fca42df05be765')
+
+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" 
+ 
+}
+

Copied: hdf5_18/repos/extra-x86_64/PKGBUILD (from rev 268530, hdf5_18/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-05-24 11:41:01 UTC (rev 268531)
@@ -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.17
+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=('640f1a46cb1b353339695355b4fca42df05be765')
+
+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" 
+ 
+}
+



More information about the arch-commits mailing list