dosfstools change actions.py

This commit is contained in:
groni
2017-01-29 11:54:51 +01:00
parent ba58f5adcb
commit a8c1685387
2 changed files with 16 additions and 6 deletions
+12 -2
View File
@@ -7,8 +7,18 @@
from pisi.actionsapi import get
from pisi.actionsapi import autotools
def setup():
autotools.configure("--prefix=/usr \
--libexecdir=/usr/lib \
--sbindir=/usr/bin \
--mandir=/usr/share/man \
--docdir=/usr/share/doc/dosfstools \
--enable-compat-symlinks")
def build():
autotools.make("CFLAGS='%s -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing'" % get.CFLAGS())
#autotools.autoreconf("--enable-compat-symlinks")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s install-bin install-man PREFIX=%s SBINDIR=/sbin" % (get.installDIR(), get.defaultprefixDIR()))
autotools.install()