summaryrefslogtreecommitdiff
path: root/repo/system/libdwarf.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
commitbb499959d88da1b3937c23b5405089c907188a81 (patch)
treed9ddba6d0c8f1152c3919067a52250c6bf0759f9 /repo/system/libdwarf.xibuild
parent3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff)
added and patched broken packages
Diffstat (limited to 'repo/system/libdwarf.xibuild')
-rw-r--r--repo/system/libdwarf.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/system/libdwarf.xibuild b/repo/system/libdwarf.xibuild
new file mode 100644
index 0000000..66aec4f
--- /dev/null
+++ b/repo/system/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
+}