diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /gdb/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'gdb/Pkgfile')
-rw-r--r-- | gdb/Pkgfile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gdb/Pkgfile b/gdb/Pkgfile new file mode 100644 index 000000000..d744158f1 --- /dev/null +++ b/gdb/Pkgfile @@ -0,0 +1,40 @@ +# Description: Le Débogueur GNU (The GNU Project Debugger) +# URL: http://www.gnu.org/software/gdb/ +# Maintainer: NuTyX core team +# Packager: eko2291 at gmail dot com +# Depends on: expat +# Run on: +name=gdb +version=7.2 +release=4 +source=(http://ftp.gnu.org/gnu/gdb/$name-$version.tar.bz2) + +build() { +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,standards.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 + + case `uname -m` in + x86_64) + rm $PKG/usr/lib64/libiberty.a;; + i?86) + rm $PKG/usr/lib/libiberty.a;; + esac + + 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 + rm $PKG/usr/share/info/dir +} + |