gdb-multiarch:first pisi release
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure')
|
||||
autotools.autoreconf("-vif")
|
||||
pisitools.cflags.add("-Wno-stringop-truncation \
|
||||
-Wno-maybe-uninitialized")
|
||||
pisitools.cxxflags.add("-Wno-maybe-uninitialized")
|
||||
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
shelltools.system("../configure \
|
||||
--disable-nls \
|
||||
--prefix=/build \
|
||||
--enable-multilib \
|
||||
--enable-interwork \
|
||||
--enable-targets=all \
|
||||
--enable-languages=all \
|
||||
--with-guile=guile-2.0 \
|
||||
--with-system-readline \
|
||||
--with-python=/usr/bin/python \
|
||||
--with-system-gdbinit=/etc/gdb/gdbinit")
|
||||
#--disable-rpath
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# to avoid conflict rename binaries
|
||||
pisitools.dodir("/usr/bin")
|
||||
pisitools.domove("/build/bin/gdb", "/usr/bin/", "gdb-multiarch")
|
||||
pisitools.removeDir("build")
|
||||
|
||||
# 2020-04-09 To Do
|
||||
# Compile with Python3
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gdb-multiarch</Name>
|
||||
<Homepage>http://www.gnu.org/software/gdb/</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue DeviL</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.debug</PartOf>
|
||||
<License>GPLv3</License>
|
||||
<IsA>app::console</IsA>
|
||||
<Summary>The GNU Debugger for all gdb supported architectures (i386/arm/mips...).</Summary>
|
||||
<Description>gdb-multiarch, is a split of GDB(GNU Debugger) which is for gdb supported architectures (i386/arm/mips...).</Description>
|
||||
<Archive sha1sum="356ee474a24bfb2f133894730916557dfea9da2e" type="tarxz">https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>texinfo</Dependency>
|
||||
<Dependency>xz-devel</Dependency>
|
||||
<Dependency>gdb-devel</Dependency>
|
||||
<Dependency>mpfr-devel</Dependency>
|
||||
<Dependency>expat-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>ncurses-devel</Dependency>
|
||||
<Dependency>guile2.0-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gdb-multiarch</Name>
|
||||
<Summary>The GNU Debugger for all gdb supported architectures (i386/arm/mips...).</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gdb</Dependency>
|
||||
<Dependency>mpfr</Dependency>
|
||||
<Dependency>expat</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
<Dependency>guile2.0</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/gdb-multiarch</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-04-09</Date>
|
||||
<Version>9.2</Version>
|
||||
<Comment>First pisi release</Comment>
|
||||
<Name>Blue DeviL</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gdb-multiarch</Name>
|
||||
<Summary xml:lang="tr">GDB(GNU Debugger) hata ayıklayıcısının desteklediği tüm mimariler için hata ayıklayıcısı.</Summary>
|
||||
<Description xml:lang="tr">gdb-multiarch i386/arm/mips gibi gdb'nin desteklediği tüm mimariler için hata ayıklayıcısı ve araçlarını sunar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user