hdf5 ver bump close #6371
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user