calf: fix build
This commit is contained in:
@@ -1,24 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-vif")
|
||||
autotools.configure()
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||
-DCMAKE_BUILD_TYPE='None' \
|
||||
-DWANT_EXPERIMENTAL=ON")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
cmaketools.make()
|
||||
|
||||
#def check():
|
||||
#cmaketools.make("test")
|
||||
|
||||
def check():
|
||||
autotools.make("check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("README*", "COPYING")
|
||||
|
||||
Reference in New Issue
Block a user