libtdb rebuild 32bit
This commit is contained in:
@@ -12,17 +12,29 @@ from pisi.actionsapi import shelltools
|
|||||||
shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
|
shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.export("LDFLAGS", "-lpthread")
|
options = "--builtin-libraries=replace \
|
||||||
autotools.configure("\
|
--bundled-libraries=NONE \
|
||||||
--builtin-libraries=replace \
|
--disable-rpath \
|
||||||
--bundled-libraries=NONE \
|
"
|
||||||
--disable-rpath \
|
|
||||||
")
|
if get.buildTYPE() == "_emul32":
|
||||||
|
shelltools.export("CC", "%s -m32" % get.CC())
|
||||||
|
shelltools.export("CXX", "%s -m32" % get.CXX())
|
||||||
|
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||||
|
options += " --libdir=/usr/lib32 \
|
||||||
|
--bindir=/usr/bin32 \
|
||||||
|
--disable-python \
|
||||||
|
"
|
||||||
|
#else: shelltools.export("LDFLAGS", "-lpthread")
|
||||||
|
autotools.configure(options)
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.system("make")
|
shelltools.system("make")
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
if get.buildTYPE() == "_emul32":
|
||||||
|
pisitools.removeDir("usr/bin32")
|
||||||
|
return
|
||||||
|
|
||||||
pisitools.dodoc("docs/README")
|
pisitools.dodoc("docs/README")
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>libtdb</Name>
|
<Name>libtdb</Name>
|
||||||
<Homepage>https://tdb.samba.org/</Homepage>
|
<Homepage>https://tdb.samba.org</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
@@ -47,15 +47,39 @@
|
|||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
|
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||||
<Path fileType="header">/usr/include</Path>
|
<Path fileType="header">/usr/include</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
<Package>
|
||||||
|
<Name>libtdb-32bit</Name>
|
||||||
|
<PartOf>emul32</PartOf>
|
||||||
|
<Summary>32-bit shared libraries for libtdb</Summary>
|
||||||
|
<BuildType>_emul32</BuildType>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libtdb</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib32</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="9">
|
||||||
|
<Date>2020-11-28</Date>
|
||||||
|
<Version>1.4.3</Version>
|
||||||
|
<Comment>Rebuild 32bit.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="8">
|
<Update release="8">
|
||||||
<Date>2020-01-14</Date>
|
<Date>2020-01-14</Date>
|
||||||
<Version>1.4.3</Version>
|
<Version>1.4.3</Version>
|
||||||
<Comment>Version bump</Comment>
|
<Comment>Version bump.</Comment>
|
||||||
<Name>İdris Kalp</Name>
|
<Name>İdris Kalp</Name>
|
||||||
<Email>idriskalp@gmail.com</Email>
|
<Email>idriskalp@gmail.com</Email>
|
||||||
</Update>
|
</Update>
|
||||||
|
|||||||
Reference in New Issue
Block a user