summaryrefslogtreecommitdiff
path: root/repo/devel/gdb/gdb.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/devel/gdb/gdb.xibuild')
-rw-r--r--repo/devel/gdb/gdb.xibuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/devel/gdb/gdb.xibuild b/repo/devel/gdb/gdb.xibuild
new file mode 100644
index 0000000..31d9b7c
--- /dev/null
+++ b/repo/devel/gdb/gdb.xibuild
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+MAKEDEPS="make expat guile ncurses python xz texinfo"
+DEPS="python-six doxygen gcc guile rustc 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
+}