28 lines
583 B
Plaintext
28 lines
583 B
Plaintext
# Description: The GNU Debugger (GDB)
|
|
# URL: https://www.gnu.org/software/gdb
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: ncurses
|
|
|
|
name=gdb
|
|
version=9.2
|
|
release=1
|
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i 's/all: info/all: $(true)/1' gdb/doc/Makefile.in
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
../configure --prefix=/usr
|
|
make -j ${JOBS:-1}
|
|
|
|
# ...
|
|
sed -i 's/^exit $st/exit 0/g' ../missing
|
|
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/{lib,include,share/info,share/locale}
|
|
}
|