2006-02-23 17:10:28 +00:00
|
|
|
# Description: The GNU Debugger (GDB)
|
2018-09-09 02:46:26 +02:00
|
|
|
# URL: https://www.gnu.org/software/gdb
|
2012-06-20 20:21:51 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2006-02-23 17:10:28 +00:00
|
|
|
# Depends on: ncurses
|
|
|
|
|
|
|
|
name=gdb
|
2020-05-30 14:01:52 +10:00
|
|
|
version=9.2
|
2016-01-13 00:55:11 +01:00
|
|
|
release=1
|
2017-03-13 18:57:59 +11:00
|
|
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2019-03-18 22:50:01 +01:00
|
|
|
|
2020-02-10 22:59:47 +01:00
|
|
|
sed -i 's/all: info/all: $(true)/1' gdb/doc/Makefile.in
|
2019-03-18 22:50:01 +01:00
|
|
|
|
2020-02-10 22:59:47 +01:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
../configure --prefix=/usr
|
|
|
|
make -j ${JOBS:-1}
|
2015-08-19 15:01:43 +02:00
|
|
|
|
|
|
|
# ...
|
2020-02-10 22:59:47 +01:00
|
|
|
sed -i 's/^exit $st/exit 0/g' ../missing
|
2015-08-19 15:01:43 +02:00
|
|
|
|
2006-02-23 17:10:28 +00:00
|
|
|
make DESTDIR=$PKG install
|
2015-09-12 17:01:55 +02:00
|
|
|
rm -rf $PKG/usr/{lib,include,share/info,share/locale}
|
2006-02-23 17:10:28 +00:00
|
|
|
}
|