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