summaryrefslogtreecommitdiffstats
path: root/extra/gdb/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gdb/Pkgfile')
-rw-r--r--extra/gdb/Pkgfile16
1 files changed, 15 insertions, 1 deletions
diff --git a/extra/gdb/Pkgfile b/extra/gdb/Pkgfile
index 1894b8a4a..058c018ab 100644
--- a/extra/gdb/Pkgfile
+++ b/extra/gdb/Pkgfile
@@ -5,7 +5,7 @@
# Depends on: expat, python
name=gdb
version=7.2
-release=1
+release=2
source=(http://ftp.gnu.org/gnu/gdb/$name-$version.tar.bz2)
build() {
@@ -13,5 +13,19 @@ cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
+ rm $PKG/usr/share/info/bfd.info
+ rm $PKG/usr/share/info/configure.info
+ rm $PKG/usr/include/ansidecl.h
+ rm $PKG/usr/include/bfd.h
+ rm $PKG/usr/include/bfdlink.h
+ rm $PKG/usr/include/dis-asm.h
+ rm $PKG/usr/include/symcat.h
+ rm $PKG/usr/lib/libbfd.a
+ rm $PKG/usr/lib/libbfd.la
+ rm $PKG/usr/lib/libiberty.a
+ rm $PKG/usr/lib/libopcodes.a
+ rm $PKG/usr/lib/libopcodes.la
+ rm $PKG/usr/share/locale/fr/LC_MESSAGES/bfd.mo
+ rm $PKG/usr/share/locale/fr/LC_MESSAGES/opcodes.mo
}