@@ -7,20 +7,30 @@
|
|||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import autotools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
|
||||||
libdir = "lib32" if get.buildTYPE() == "emul32" else "lib"
|
libdir = "lib32" if get.buildTYPE() == "emul32" else "lib"
|
||||||
jobs = get.makeJOBS().replace("-j", "")
|
jobs = get.makeJOBS().replace("-j", "")
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
autotools.configure("\
|
options = "--sysconfdir=/etc/samba \
|
||||||
--sysconfdir=/etc/samba \
|
--builtin-libraries=replace \
|
||||||
--builtin-libraries=replace \
|
--bundled-libraries=NONE \
|
||||||
--bundled-libraries=NONE \
|
--disable-rpath \
|
||||||
--disable-rpath \
|
--disable-rpath-install \
|
||||||
--disable-rpath-install \
|
--disable-silent-rules \
|
||||||
--disable-silent-rules \
|
--enable-talloc-compat1"
|
||||||
--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():
|
def build():
|
||||||
autotools.make("JOBS=%s" % jobs)
|
autotools.make("JOBS=%s" % jobs)
|
||||||
@@ -28,6 +38,9 @@ def build():
|
|||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s JOBS=%s" % (get.installDIR(), jobs))
|
autotools.rawInstall("DESTDIR=%s JOBS=%s" % (get.installDIR(), jobs))
|
||||||
|
|
||||||
|
if get.buildTYPE() == "emul32":
|
||||||
|
return
|
||||||
|
|
||||||
#pisitools.removeDir("/usr/share/swig")
|
#pisitools.removeDir("/usr/share/swig")
|
||||||
|
|
||||||
#pisitools.remove("/usr/lib*/*.a")
|
#pisitools.remove("/usr/lib*/*.a")
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>libtalloc</Name>
|
<Name>libtalloc</Name>
|
||||||
<Homepage>http://talloc.samba.org</Homepage>
|
<Homepage>https://talloc.samba.org/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
@@ -12,20 +12,27 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Hierarchical pool based memory allocator</Summary>
|
<Summary>Hierarchical pool based memory allocator</Summary>
|
||||||
<Description>libtalloc is a library which implements a hierarchical allocator with destructors which is the core memory allocator in samba.</Description>
|
<Description>libtalloc is a library which implements a hierarchical allocator with destructors which is the core memory allocator in samba.</Description>
|
||||||
<Archive sha1sum="9d563b768148b620bdae1c97b36cfc30928a1044" type="targz">http://www.samba.org/ftp/talloc/talloc-2.1.14.tar.gz</Archive>
|
<Archive sha1sum="69fe815888eddcbe2fb6fc3270ff9e977461000d" type="targz">http://www.samba.org/ftp/talloc/talloc-2.1.16.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>docbook-xsl</Dependency>
|
<Dependency>docbook-xsl</Dependency>
|
||||||
<Dependency>libxslt-devel</Dependency>
|
<Dependency>libxslt-devel</Dependency>
|
||||||
<Dependency>python-devel</Dependency>
|
<Dependency>python-devel</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
<Dependency>libbsd-devel</Dependency>
|
<Dependency>libbsd-devel</Dependency>
|
||||||
<Dependency>attr-devel</Dependency>
|
<Dependency>attr-devel</Dependency>
|
||||||
|
<Dependency>libtirpc-devel</Dependency>
|
||||||
|
<Dependency>rpcsvc-proto-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<!-- <Patch level="1">fix_test_path.patch</Patch> -->
|
||||||
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>libtalloc</Name>
|
<Name>libtalloc</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>python</Dependency>
|
<Dependency>python</Dependency>
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
<Dependency>libbsd</Dependency>
|
<Dependency>libbsd</Dependency>
|
||||||
<Dependency>attr</Dependency>
|
<Dependency>attr</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
@@ -56,7 +63,7 @@
|
|||||||
<Summary>32-bit shared libraries for libtalloc</Summary>
|
<Summary>32-bit shared libraries for libtalloc</Summary>
|
||||||
<BuildType>emul32</BuildType>
|
<BuildType>emul32</BuildType>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
|
<Dependency>libxslt-32bit</Dependency>
|
||||||
<Dependency>attr-32bit</Dependency>
|
<Dependency>attr-32bit</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
@@ -70,6 +77,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="8">
|
||||||
|
<Date>2019-04-04</Date>
|
||||||
|
<Version>2.1.16</Version>
|
||||||
|
<Comment>Version Bump</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="7">
|
<Update release="7">
|
||||||
<Date>2018-08-06</Date>
|
<Date>2018-08-06</Date>
|
||||||
<Version>2.1.14</Version>
|
<Version>2.1.14</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user