summaryrefslogtreecommitdiff
path: root/repo/core/util-linux.xibuild
blob: 1373691f695d06aa0b84118538af687810634d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

DEPS=(shadow coreutils libcap libxcrypt readline)

SOURCE=git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
BRANCH=stable/v2.20
DESC="System Utilities for Linux"

build () {
    ./autogen.sh
    ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
            --libdir=/usr/lib    \
            --docdir=/usr/share/doc/util-linux-2.20 \
            --disable-static     \
            runstatedir=/run
    make
    make DESTDIR=$PKG_DEST install 
}