summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gdb/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-05-04 01:31:27 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-05-04 01:31:27 (GMT)
commit54f814b2883e334fc2946d3d592e8df37d46b926 (patch)
treee4791f2e4939c4bbcd5efa98786b5c769c804e1f /abs/extra-testing/gdb/PKGBUILD
parentab8848ac71bfaa899b903f7c2529fbd373248c29 (diff)
downloadlinhes_pkgbuild-54f814b2883e334fc2946d3d592e8df37d46b926.zip
linhes_pkgbuild-54f814b2883e334fc2946d3d592e8df37d46b926.tar.gz
linhes_pkgbuild-54f814b2883e334fc2946d3d592e8df37d46b926.tar.bz2
Initial inclusion.
Diffstat (limited to 'abs/extra-testing/gdb/PKGBUILD')
-rw-r--r--abs/extra-testing/gdb/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra-testing/gdb/PKGBUILD b/abs/extra-testing/gdb/PKGBUILD
new file mode 100644
index 0000000..e4ee109
--- /dev/null
+++ b/abs/extra-testing/gdb/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 10684 2008-08-29 21:45:41Z eric $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+pkgname=gdb
+pkgver=6.8
+pkgrel=3
+pkgdesc="The GNU Debugger"
+arch=(i686 x86_64)
+url="http://sources.redhat.com/gdb/"
+depends=('ncurses' 'expat')
+options=('!libtool')
+license=('GPL3')
+install=gdb.install
+source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('c9da266b884fb8fa54df786dfaadbc7a')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --disable-nls --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+ rm -f ${pkgdir}/usr/share/info/dir
+ # resolve conflicts with binutils
+ rm -f ${startdir}/pkg/usr/include/{bfd,dis-asm,symcat,ansidecl,bfdlink}.h
+ rm -f ${startdir}/pkg/usr/lib/{libiberty,libbfd,libopcodes}.a
+ rm -f ${startdir}/pkg/usr/share/info/{bfd.info,configure.info,standards.info}
+}