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

DEPS=(shadow coreutils libcap libxcrypt readline)

SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v2.37/util-linux-2.37.2.tar.xz
DESC="System Utilities for Linux"

build () {
    ./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 
}