summaryrefslogtreecommitdiff
path: root/repo/system/gdbm/gdbm.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/gdbm/gdbm.xibuild')
-rw-r--r--repo/system/gdbm/gdbm.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/system/gdbm/gdbm.xibuild b/repo/system/gdbm/gdbm.xibuild
new file mode 100644
index 0000000..3906bbb
--- /dev/null
+++ b/repo/system/gdbm/gdbm.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="musl sh readline"
+
+PKG_VER=1.21
+SOURCE=https://ftp.gnu.org/gnu/gdbm/gdbm-$PKG_VER.tar.gz
+DESC="GNU database library"
+
+build () {
+ ./configure --prefix=/usr --disable-static --enable-libgdm-compat
+ make
+}
+
+check () {
+ make -k check || true
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}