summaryrefslogtreecommitdiff
path: root/repo/core/util-linux.xibuild
blob: 1ab840c9c706824671d29618026090a750c45e5f (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
26
27
28
29
#!/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.37.2 \
            --disable-chfn-chsh  \
            --disable-login      \
            --disable-nologin    \
            --disable-su         \
            --disable-setpriv    \
            --disable-runuser    \
            --disable-pylibmount \
            --disable-static     \
            --without-python     \
            --without-systemd    \
            --without-systemdsystemunitdir \
            --disable-werror \
            runstatedir=/run
    make
    make DESTDIR=$PKG_DEST install 
}