summaryrefslogtreecommitdiff
path: root/repo/system/gdbm.xibuild
blob: 4fc705889096c9f7d3f5a7aeb3ca0889b8271ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

DEPS=(glibc 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 
}