🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
pkgname: gdb
pkgver: '17.2'
pkgrel: '1'
pkgdesc: 'The GNU Project debugger, allows you to see what is going on “inside” another program while it executes.'
url: 'https://www.sourceware.org/gdb/'
arch: x86_64
license:
- GPL3
depends: []
makedepends:
- ncurses
- gmp
- readline
- expat
- texinfo
- python
source:
- 'https://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz'
sha256sums:
- SKIP
build: |
CXXFLAGS+=' -fpermissive'
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-system-readline --with-python
make
make DESTDIR=${PKGDIR} install
rm ${PKGDIR}/usr/include/plugin-api.h
rm ${PKGDIR}/usr/share/info/bfd.info
rm ${PKGDIR}/usr/include/ansidecl.h
rm ${PKGDIR}/usr/include/bfd.h
rm ${PKGDIR}/usr/include/bfdlink.h
rm ${PKGDIR}/usr/include/dis-asm.h
rm ${PKGDIR}/usr/include/symcat.h
rm ${PKGDIR}/usr/include/ctf-api.h
rm ${PKGDIR}/usr/include/ctf.h
rm ${PKGDIR}/usr/include/sframe-api.h
rm ${PKGDIR}/usr/include/sframe.h
rm ${PKGDIR}/usr/lib/libbfd.a
rm -f ${PKGDIR}/usr/lib/libbfd.la
rm ${PKGDIR}/usr/lib/libopcodes.a
rm -f ${PKGDIR}/usr/lib/libopcodes.la
rm ${PKGDIR}/usr/lib/libctf-nobfd.a
rm -f ${PKGDIR}/usr/lib/libctf-nobfd.la
rm ${PKGDIR}/usr/lib/libctf.a
rm -f ${PKGDIR}/usr/lib/libctf.la
rm ${PKGDIR}/usr/lib/libsframe.a
# Most of the locale are allready present from binutils, beter get rid of all of them
rm -r ${PKGDIR}/usr/share/locale
rm ${PKGDIR}/usr/include/diagnostics.h
install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
install -Dm644 COPYING3 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING3
install -Dm644 COPYING.LIB ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING.LIB
install -Dm644 COPYING3.LIB ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING3.LIB
package: |
true