buildout.cfg 914 Bytes
Newer Older
Kirill Smelkov's avatar
Kirill Smelkov committed
1 2 3 4 5
# SlapOS component for GDB.
# https://www.gnu.org/software/gdb

[buildout]
extends =
Jérome Perrin's avatar
Jérome Perrin committed
6
  ../xz-utils/buildout.cfg
Kirill Smelkov's avatar
Kirill Smelkov committed
7
  ../binutils/buildout.cfg
Jérome Perrin's avatar
Jérome Perrin committed
8
  ../libexpat/buildout.cfg
Kirill Smelkov's avatar
Kirill Smelkov committed
9 10 11 12 13 14 15
  ../texinfo/buildout.cfg

parts = gdb

[gdb]
recipe = slapos.recipe.cmmi
shared = true
16 17
url = https://ftp.gnu.org/gnu/gdb/gdb-14.1.tar.xz
md5sum = 4a084d03915b271f67e9b8ea2ab24972
Kirill Smelkov's avatar
Kirill Smelkov committed
18 19 20 21 22 23 24 25 26 27 28 29 30
location = @@LOCATION@@
# gdb refuses to build in-tree -> build it inside build/
pre-configure =
  mkdir -p build
configure-command =
  cd build && ../configure
configure-options =
  --prefix=${:location}
  --disable-bootstrap
  --with-mpc=${mpc:location}
  --with-mpfr=${mpfr:location}
  --with-gmp=${gmp:location}
  --with-isl=${isl:location}
Jérome Perrin's avatar
Jérome Perrin committed
31
  --with-expat=${libexpat:location}
Kirill Smelkov's avatar
Kirill Smelkov committed
32 33 34
make-binary =
make-targets = cd build && make && make install
environment =
Jérome Perrin's avatar
Jérome Perrin committed
35 36
  PATH=${texinfo:location}/bin:${xz-utils:location}/bin:%(PATH)s
  LDFLAGS=-Wl,-rpath=${libexpat:location}/lib