blob: 8f1b13d1806a0f9c4febc5928b7e325ec28c7056 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
shopt -s extglob
pkg:setup
cd src/gdb
autoconf
cd ../..
cd ..
mkdir build
cd build
PKG_CONF=$(echo ../!(build)/src/configure) pkg:configure
make
# XXX: do I really need DSTROOT?
pkg:install DSTROOT="${PKG_DEST}"
for bin in ar nm ranlib size strings strip; do
pkg: rm -f "/usr/bin/${bin}"
done
pkg: rm -f /usr/lib/libiberty.a
ldid -S"${PKG_DATA}/gdb.xml" "${PKG_DEST}/usr/bin/gdb"{,server}
|