elfutils split 32bit

This commit is contained in:
bferturk
2016-04-07 23:41:05 +03:00
parent fe6fbd84a0
commit a299a737b8
3 changed files with 55 additions and 19 deletions
+32 -18
View File
@@ -7,25 +7,32 @@
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
def setup(): def setup():
pisitools.flags.add("-fexceptions")
autotools.autoreconf("-vfi")
# Remove -Wall from default flags. The makefiles enable enough warnings # Remove -Wall from default flags. The makefiles enable enough warnings
# themselves, and they use -Werror. # themselves, and they use -Werror.
pisitools.cflags.remove("-Wall")
autotools.configure("\
--disable-nls \ options ='-disable-nls --program-prefix=\"eu-\" --with-zlib'
--enable-dwz \
--enable-thread-safety \ if get.buildTYPE() == "emul32":
--program-prefix=\"eu-\" \ shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
--with-bzlib \
--with-lzma \ elif get.ARCH() == "x86_64":
--with-zlib \ pisitools.flags.add("-fexceptions")
") autotools.autoreconf("-vfi")
pisitools.cflags.remove("-Wall")
options +=" \
--enable-dwz \
--enable-thread-safety \
--with-bzlib \
--with-lzma"
autotools.configure(options)
def build(): def build():
autotools.make() autotools.make()
@@ -36,9 +43,16 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# Don't remove all the static libs as libebl.a is needed by other packages if get.buildTYPE() == "emul32":
pisitools.remove("/usr/lib/libelf.a") pisitools.remove("/usr/lib32/libelf.a")
pisitools.remove("/usr/lib/libasm.a") pisitools.remove("/usr/lib32/libasm.a")
pisitools.remove("/usr/lib/libdw.a") pisitools.remove("/usr/lib32/libdw.a")
pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "NOTES", "README", "THANKS", "TODO")
elif get.ARCH() == "x86_64":
# Don't remove all the static libs as libebl.a is needed by other packages
pisitools.remove("/usr/lib/libelf.a")
pisitools.remove("/usr/lib/libasm.a")
pisitools.remove("/usr/lib/libdw.a")
pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "NOTES", "README", "THANKS", "TODO")
+19 -1
View File
@@ -38,9 +38,27 @@
</Files> </Files>
</Package> </Package>
<Package>
<Name>elfutils-32bit</Name>
<Summary>32-bit shared libraries for elfutils</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>xz-32bit</Dependency>
<Dependency>zlib-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>xz-32bit</Dependency>
<Dependency>zlib-32bit</Dependency>
<Dependency release="current">elfutils</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History> <History>
<Update release="1"> <Update release="1">
<Date>2016-03-13</Date> <Date>2016-04-07</Date>
<Version>0.165</Version> <Version>0.165</Version>
<Comment>First release</Comment> <Comment>First release</Comment>
<Name>Ertuğrul Erata</Name> <Name>Ertuğrul Erata</Name>
+4
View File
@@ -5,4 +5,8 @@
<Summary xml:lang="tr">Derlenmiş objeleri işlemek için gereken aletler koleksiyonu</Summary> <Summary xml:lang="tr">Derlenmiş objeleri işlemek için gereken aletler koleksiyonu</Summary>
<Description xml:lang="tr">elfutils derlenmiş objeleri işlemek için gereken çeşitli araçlar içerir.</Description> <Description xml:lang="tr">elfutils derlenmiş objeleri işlemek için gereken çeşitli araçlar içerir.</Description>
</Source> </Source>
<Package>
<Name>zlib-32bit</Name>
<Summary xml:lang="tr">elfutils için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI> </PISI>