# This file is part of MXE.
# See index.html for further information.
PKG := gdb
$(PKG)_VERSION := 7.6
$(PKG)_CHECKSUM := b64095579a20e011beeaa5b264fe23a9606ee40f
$(PKG)_SUBDIR := gdb-$($(PKG)_VERSION)
$(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
$(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc expat libiconv ncurses zlib
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/gdb/?C=M;O=D' | \
$(SED) -n 's,.*