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

MAKEDEPS=(make )
DEPS=(shadow coreutils libcap libxcrypt readline)

PKG_VER=2.37.2
SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v$(echo $PKG_VER | cut -d. -f-2)/util-linux-$PKG_VER.tar.xz
DESC="System Utilities for Linux"

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

package () {
    make DESTDIR=$PKG_DEST install 
}