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