mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 15:47:15 +08:00
hdf5: update to 1.8.16
This commit is contained in:
parent
01e130ae65
commit
c2c706aef9
@ -1,10 +1,7 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer abveritas@chakra-project.org
|
||||
# Maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=hdf5
|
||||
pkgver=1.8.11
|
||||
pkgver=1.8.16
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
pkgdesc="General purpose library and file format for storing scientific data"
|
||||
@ -13,16 +10,15 @@ license=('custom')
|
||||
depends=('zlib' 'sh')
|
||||
source=("ftp://ftp.hdfgroup.org/HDF5/current/src/${pkgname}-${pkgver/_/-}.tar.bz2")
|
||||
options=('!libtool')
|
||||
md5sums=('3433c1be767d2b8e5b0771a3209b4fcc')
|
||||
md5sums=('79c1593573ebddf734eee8d43ecfe483')
|
||||
|
||||
build() {
|
||||
cd $srcdir/${pkgname}-${pkgver/_/-}
|
||||
export CFLAGS="${CFLAGS/O2/O0}"
|
||||
export CXXFLAGS="${CFLAGS}"
|
||||
# export CFLAGS="${CFLAGS/O2/O0}"
|
||||
# export CXXFLAGS="${CFLAGS}"
|
||||
./configure --prefix=/usr --disable-static \
|
||||
--enable-hl \
|
||||
--disable-hl \
|
||||
--enable-threadsafe \
|
||||
--enable-linux-lfs \
|
||||
--enable-production \
|
||||
--with-pic \
|
||||
--docdir=/usr/share/doc/hdf5/ \
|
||||
@ -34,10 +30,9 @@ build() {
|
||||
package() {
|
||||
cd $srcdir/${pkgname}-${pkgver/_/-}
|
||||
|
||||
make -j1 prefix=$pkgdir/usr install
|
||||
make prefix=$pkgdir/usr install
|
||||
|
||||
install -d -m755 $pkgdir/usr/share/licenses/${pkgname}
|
||||
install -m644 $srcdir/${pkgname}-${pkgver/_/-}/COPYING \
|
||||
install -Dm644 $srcdir/${pkgname}-${pkgver/_/-}/COPYING \
|
||||
$pkgdir/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user