summaryrefslogtreecommitdiff
path: root/repo/util/man-db.xibuild
blob: 7f5d02cf18aff8b1d9c09585bf1399040b7804ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

DEPS=(bash gdbm zlib groff libpipeline less)

PKG_VER=2.9.4
SOURCE=http://download.savannah.nongnu.org/releases/man-db/man-db-$PKG_VER.tar.xz
DESC="A utility for reading man pages"

build () {
    ./configure --prefix=/usr                        \
            --docdir=/usr/share/doc/man-db-$PKG_VER \
            --sysconfdir=/etc                    \
            --disable-setuid                     \
            --enable-cache-owner=bin             \
            --with-browser=/usr/bin/lynx         \
            --with-vgrind=/usr/bin/vgrind        \
            --with-grap=/usr/bin/grap            \
            --with-systemdtmpfilesdir=           \
            --with-systemdsystemunitdir=
    make
}

package () {
    make DESTDIR=$PKG_DEST install 
}