--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/gdb
+-rwxr-xr-x root/root usr/bin/gdbserver
+-rwxr-xr-x root/root usr/bin/gdbtui
+-rwxr-xr-x root/root usr/bin/run
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/gdb.1.gz
+-rw-r--r-- root/root usr/man/man1/gdbserver.1.gz
+-rw-r--r-- root/root usr/man/man1/gdbtui.1.gz
+-rw-r--r-- root/root usr/man/man1/run.1.gz
--- /dev/null
+# Description: The GNU Debugger (GDB)
+# URL: http://sources.redhat.com/gdb/
+# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: ncurses
+
+name=gdb
+version=7.2
+release=1
+source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/{info,share,lib,include}
+}