]> git.ipfire.org Git - ipfire-3.x.git/blame - gdb/gdb.nm
kernel: Update to 5.3.7
[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
c5d6f3e1
MT
7version = 7.12
8release = 1
d0739646 9
802ea3af
MT
10groups = Development/Debuggers
11url = http://gnu.org/software/gdb/
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
c5d6f3e1
MT
21source_dl = ftp://ftp.gnu.org/gnu/gdb/
22sources = %{thisapp}.tar.xz
802ea3af
MT
23
24build
25 requires
5a03b7c3
MT
26 bison
27 expat-devel
802ea3af 28 ncurses-devel
c5d6f3e1 29 readline-devel
5a03b7c3 30 texinfo
c5d6f3e1 31 xz-devel
802ea3af
MT
32 zlib-devel
33 end
34
35 configure_options += \
c5d6f3e1
MT
36 --with-pkgversion="%{DISTRO_NAME} gdb %{thisver}" \
37 --with-bugurl="http://bugzilla.ipfire.org/" \
5a03b7c3 38 --with-system-gdbinit=/etc/gdbinit \
c5d6f3e1 39 --enable-64-bit-bfd \
5a03b7c3
MT
40 --enable-gdb-build-warnings=,-Wno-unused \
41 --with-separate-debug-dir=/usr/lib/debug \
c5d6f3e1
MT
42 --enable-tui \
43 --disable-binutils \
44 --disable-etc \
45 --disable-gas \
46 --disable-gold \
47 --disable-gprof \
48 --disable-ld \
5a03b7c3
MT
49 --disable-sim \
50 --disable-rpath \
c5d6f3e1
MT
51 --with-system-readline \
52 --with-system-zlib \
5a03b7c3
MT
53 --disable-werror \
54 --with-expat \
5a03b7c3 55 --with-python \
c5d6f3e1
MT
56 --with-lzma \
57 --without-libexpat-prefix \
5a03b7c3 58 --without-libunwind \
5a03b7c3
MT
59 %{DISTRO_MACHINE}
60
5a03b7c3 61 install_cmds
56979ad2 62 # Remove locale data and headers which is provided by binutils.
c5d6f3e1
MT
63 rm -vrf %{BUILDROOT}%{datadir}/locale/
64 rm -vrf %{BUILDROOT}%{includedir}/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
5a03b7c3 65 end
802ea3af
MT
66end
67
68packages
69 package %{name}
5a03b7c3 70
802ea3af
MT
71 package %{name}-devel
72 template DEVEL
73 end
1f9bc2f0
MT
74
75 package %{name}-debuginfo
76 template DEBUGINFO
77 end
802ea3af 78end