summaryrefslogtreecommitdiff
path: root/repo/devel/gdb/gdb.xibuild
blob: 5b3b3a8b6aad6465f2992e01e58575d9614893a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

MAKEDEPS="make expat guile ncurses python xz texinfo"
DEPS="python-six doxygen gcc guile rust python valgrind systemtap"

PKG_VER=11.2
SOURCE=https://ftp.gnu.org/gnu/gdb/gdb-$PKG_VER.tar.xz
DESC="The GNU debugger"

build () {
    mkdir build &&
    cd    build &&

    ../configure --prefix=/usr          \
                 --with-system-readline \
                 --with-python=/usr/bin/python3 &&
    make

}

#check () {
#    cd gdb/testsuite &&
#    make  site.exp      &&
#    echo  "set gdb_test_timeout 120" >> site.exp &&
#    runtest
#    cd ../..
#
#}

package () {
    make -C gdb DESTDIR=$PKG_DEST install 
}