libtalloc:ver.bump
This commit is contained in:
@@ -7,26 +7,39 @@
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
libdir = "lib32" if get.buildTYPE() == "emul32" else "lib"
|
||||
jobs = get.makeJOBS().replace("-j", "")
|
||||
|
||||
def setup():
|
||||
autotools.configure("\
|
||||
--sysconfdir=/etc/samba \
|
||||
--builtin-libraries=replace \
|
||||
--bundled-libraries=NONE \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--disable-silent-rules \
|
||||
--enable-talloc-compat1 \
|
||||
")
|
||||
options = "--sysconfdir=/etc/samba \
|
||||
--builtin-libraries=replace \
|
||||
--bundled-libraries=NONE \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--disable-silent-rules \
|
||||
--enable-talloc-compat1"
|
||||
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options += " --libdir=/usr/lib32 \
|
||||
|
||||
"
|
||||
elif get.ARCH() == "x86_64":
|
||||
options += " --extra-python=/usr/bin/python \
|
||||
|
||||
"
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make("JOBS=%s" % jobs)
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s JOBS=%s" % (get.installDIR(), jobs))
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
return
|
||||
|
||||
#pisitools.removeDir("/usr/share/swig")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user