thin-provisioning-tools-1.0.7

This commit is contained in:
Rmys
2023-11-24 14:29:31 +03:00
committed by GitHub
parent ab02286d07
commit 90b911eef8
2 changed files with 18 additions and 6 deletions
@@ -4,15 +4,17 @@
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.autoreconf()
# def setup():
# autotools.autoreconf()
autotools.configure("--prefix=/usr")
# autotools.configure("--prefix=/usr")
def build():
autotools.make()
shelltools.system("cargo build --release")
# autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("BINDIR=%s/usr/sbin DATADIR=%s/usr/share DESTDIR=%s/usr" % (get.installDIR(), get.installDIR(), get.installDIR()))