milis/talimatname/genel/g/gdb/talimat

32 lines
875 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: 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/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
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
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
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
}