milis/talimatname/genel/gdb/talimat

32 lines
882 B
Plaintext
Raw Normal View History

2017-03-24 08:52:06 +01:00
# Description: GNU Projesi hata ayıklayıcı olan GDB, başka bir programın yürütülürken "içinde" olan biteni görmenizi sağlar.
2016-02-24 01:27:23 +01:00
# URL: http://www.sourceware.org/gdb/
2016-07-24 18:46:22 +02:00
# Packager: milisarge
2017-01-31 01:37:09 +01:00
# Depends on:
2016-02-24 01:27:23 +01:00
name=gdb
version=7.10.1
release=1
source=(http://ftp.gnu.org/gnu/gdb/$name-$version.tar.xz)
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
./configure --prefix=/usr --with-system-readline
make
make DESTDIR=$PKG install
rm $PKG/usr/include/plugin-api.h
rm $PKG/usr/share/info/bfd.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/libopcodes.a
rm $PKG/usr/lib/libopcodes.la
# Most of the locale are allready present from binnutils, beter get rid of all of them
rm -r $PKG/usr/share/locale
rm -f $PKG/usr/share/info/dir
}