X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=gdb%2Fgdb.nm;h=c1f72400c86720df443b3a0a6316e580c290842e;hb=5a03b7c3146ef4f5638df5d4457ff70fc0318f72;hp=7c377584ce9fb6b7e221c75a10d4ec44880864f1;hpb=71858032e55cf8620a69033f6897a2152eb142d9;p=people%2Famarx%2Fipfire-3.x.git diff --git a/gdb/gdb.nm b/gdb/gdb.nm index 7c377584c..c1f72400c 100644 --- a/gdb/gdb.nm +++ b/gdb/gdb.nm @@ -4,7 +4,7 @@ ############################################################################### name = gdb -version = 7.3.1 +version = 7.3.50.20110722 release = 1 groups = Development/Debuggers @@ -18,26 +18,63 @@ description and printing their data. end -source_dl = ftp://ftp.gnu.org/gnu/gdb/ -sources = %{thisapp}.tar.gz +#source_dl = ftp://ftp.gnu.org/gnu/gdb/ +source_dl = ftp://sourceware.org/pub/gdb/snapshots/current/ +sources = %{thisapp}.tar.bz2 build requires + bison + expat-devel ncurses-devel - readline-devel + texinfo zlib-devel end configure_options += \ + --with-system-gdbinit=/etc/gdbinit \ --mandir=/usr/share/man \ - --disable-werror + --enable-gdb-build-warnings=,-Wno-unused \ + --with-separate-debug-dir=/usr/lib/debug \ + --disable-sim \ + --disable-rpath \ + --without-system-readline \ + --disable-werror \ + --with-expat \ + --without-libexpat-prefix \ + --enable-tui \ + --with-python \ + --without-rpm \ + --without-libunwind \ + --enable-64-bit-bfd \ + %{DISTRO_MACHINE} + + prepare_cmds + echo "%{DISTRO_NAME} (%{thisver})" > gdb/version.in + end + + # Testsuite does not succeed. Needs to be fixed eventually. + #test + # make check + #end + + install_cmds + # Install gcore script. + cp -v gdb/gdb_gcore.sh %{BUILDROOT}/usr/bin/gcore + chmod -v 755 %{BUILDROOT}/usr/bin/gcore + + # Remove gdb/gdbtui binaries duplicity. + ln -svf gdb %{BUILDROOT}/usr/bin/gdbtui + ln -svf gdb.1 %{BUILDROOT}/usr/share/man/man1/gdbtui.1 + + mkdir -pv %{BUILDROOT}/etc/gdbinit.d + cp -vf %{DIR_SOURCE}/gdbinit %{BUILDROOT}/etc/gdbinit + end end packages package %{name} - requires = python - end - + package %{name}-devel template DEVEL end