summaryrefslogtreecommitdiff
path: root/repo/system/libdwarf/libdwarf.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libdwarf/libdwarf.xibuild')
-rw-r--r--repo/system/libdwarf/libdwarf.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/system/libdwarf/libdwarf.xibuild b/repo/system/libdwarf/libdwarf.xibuild
new file mode 100644
index 0000000..66aec4f
--- /dev/null
+++ b/repo/system/libdwarf/libdwarf.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+MAKEDEPS="elfutils zlib"
+DEPS="musl zlib libelf"
+
+PKG_VER=20210528
+SOURCE=http://www.prevanders.net/libdwarf-$PKG_VER.tar.gz
+DESC="Parsing library for DWARF2 and later debugging file format"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --enable-shared \
+ --enable-dwarfgen
+ make
+}
+
+check () {
+ make check
+}
+
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}