calf: fix build

This commit is contained in:
suvari
2025-05-24 12:14:36 +03:00
parent 2505ae4b41
commit b835b62cea
2 changed files with 17 additions and 14 deletions
+13 -11
View File
@@ -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")