]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - gdb/gdb.nm
gdb: Update to 13.1
[people/pmueller/ipfire-3.x.git] / gdb / gdb.nm
CommitLineData
d0739646 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
d0739646
SS
4###############################################################################
5
802ea3af 6name = gdb
9beb846e 7version = 13.1
c5d6f3e1 8release = 1
d0739646 9
802ea3af 10groups = Development/Debuggers
6a43e353 11url = https://gnu.org/software/gdb/
802ea3af
MT
12license = GPLv3+
13summary = A GNU source-level debugger for C, C++, Java and other languages.
d0739646 14
802ea3af 15description
c5d6f3e1
MT
16 GDB, the GNU debugger, allows you to debug programs written in C, C++,
17 Java, and other languages, by executing them in a controlled fashion
d0739646 18 and printing their data.
802ea3af
MT
19end
20
6a43e353 21source_dl = https://ftp.gnu.org/gnu/gdb/
c5d6f3e1 22sources = %{thisapp}.tar.xz
802ea3af
MT
23
24build
25 requires
5a03b7c3
MT
26 bison
27 expat-devel
9beb846e
MT
28 gmp-devel
29 mpfr-devel
802ea3af 30 ncurses-devel
6a43e353 31 python3-devel
c5d6f3e1 32 readline-devel
5a03b7c3 33 texinfo
c5d6f3e1 34 xz-devel
802ea3af
MT
35 zlib-devel
36 end
37
38 configure_options += \
c5d6f3e1 39 --with-pkgversion="%{DISTRO_NAME} gdb %{thisver}" \
6a43e353 40 --with-bugurl="https://bugzilla.ipfire.org/" \
5a03b7c3 41 --with-system-gdbinit=/etc/gdbinit \
6a43e353 42 --with-python=%{python3} \
c5d6f3e1 43 --enable-64-bit-bfd \
5a03b7c3
MT
44 --enable-gdb-build-warnings=,-Wno-unused \
45 --with-separate-debug-dir=/usr/lib/debug \
c5d6f3e1
MT
46 --enable-tui \
47 --disable-binutils \
48 --disable-etc \
49 --disable-gas \
50 --disable-gold \
51 --disable-gprof \
52 --disable-ld \
5a03b7c3
MT
53 --disable-sim \
54 --disable-rpath \
c5d6f3e1
MT
55 --with-system-readline \
56 --with-system-zlib \
5a03b7c3
MT
57 --disable-werror \
58 --with-expat \
9beb846e 59 --with-python=%{python3} \
c5d6f3e1
MT
60 --with-lzma \
61 --without-libexpat-prefix \
5a03b7c3
MT
62 %{DISTRO_MACHINE}
63
5a03b7c3 64 install_cmds
56979ad2 65 # Remove locale data and headers which is provided by binutils.
c5d6f3e1
MT
66 rm -vrf %{BUILDROOT}%{datadir}/locale/
67 rm -vrf %{BUILDROOT}%{includedir}/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
5a03b7c3 68 end
802ea3af
MT
69end
70
71packages
72 package %{name}
5a03b7c3 73
802ea3af
MT
74 package %{name}-devel
75 template DEVEL
76 end
1f9bc2f0
MT
77
78 package %{name}-debuginfo
79 template DEBUGINFO
80 end
802ea3af 81end