diff options
author | root <root@rshg054.dnsready.net> | 2013-01-08 01:01:51 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-08 01:01:51 -0800 |
commit | c6944c224fa06987b04ffc1e90f5db0dfb200be9 (patch) | |
tree | 9660fefded7f8fd5e1ea1a47e60c13e80bbb7d25 /extra/hdf5-cpp-fortran | |
parent | 6691bda410e7b989932f459d788e7caa7bbd3a41 (diff) |
Tue Jan 8 01:01:51 PST 2013
Diffstat (limited to 'extra/hdf5-cpp-fortran')
-rw-r--r-- | extra/hdf5-cpp-fortran/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/extra/hdf5-cpp-fortran/PKGBUILD b/extra/hdf5-cpp-fortran/PKGBUILD new file mode 100644 index 000000000..0308e51ef --- /dev/null +++ b/extra/hdf5-cpp-fortran/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 174838 2013-01-07 19:57:53Z ronald $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: damir <damir@archlinux.org> +# Contributor: Tom K <tomk@runbox.com> + +pkgname=hdf5-cpp-fortran +_pkgname=hdf5 +pkgver=1.8.10 +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' 'gcc-libs') +makedepends=('time' 'gcc-fortran') +conflicts=('hdf5') +provides=('hdf5') +source=(ftp://ftp.hdfgroup.org/HDF5/current/src/${_pkgname}-${pkgver/_/-}.tar.bz2) +options=('!libtool') +sha1sums=('867a91b75ee0bbd1f1b13aecd52e883be1507a2c') + +build() { + cd $srcdir/${_pkgname}-${pkgver/_/-} + export CFLAGS="${CFLAGS/O2/O0}" + export CXXFLAGS="${CFLAGS}" + ./configure --prefix=/usr --disable-static \ + --enable-hl \ + --enable-cxx \ + --enable-fortran \ + --enable-linux-lfs \ + --enable-production \ + --with-pic \ + --docdir=/usr/share/doc/hdf5/ \ + --with-pthread=/usr/lib/ \ + --disable-sharedlib-rpath + make +} + +package() { + cd $srcdir/${_pkgname}-${pkgver/_/-} + + make -j1 DESTDIR=${pkgdir} install + + install -d -m755 $pkgdir/usr/share/licenses/${pkgname} + install -m644 $srcdir/${_pkgname}-${pkgver/_/-}/COPYING \ + $pkgdir/usr/share/licenses/${pkgname}/LICENSE +} + |