thin-provisioning-tools-1.0.7
This commit is contained in:
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user