hdf5 ver bump close #6371

This commit is contained in:
Rmys
2019-02-06 22:33:27 +03:00
parent 6332f24c4b
commit 53e378b92c
2 changed files with 24 additions and 3 deletions
+13 -1
View File
@@ -7,9 +7,20 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DHDF5_BUILD_HL_LIB=ON \
-DHDF5_BUILD_CPP_LIB=ON \
-DHDF5_BUILD_FORTRAN=ON", sourceDir="..")
shelltools.cd("..")
autotools.configure("--prefix=/usr \
--enable-cxx \
--enable-hl \
@@ -33,5 +44,6 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/usr/lib/pkgconfig", "build/CMakeFiles/*.pc")
pisitools.dodoc("ACKNOWLEDGMENTS", "COPYING", "README*", "release_docs/HISTORY-*", "release_docs/RELEASE.txt")