summaryrefslogtreecommitdiff
path: root/repo/util-linux/util-linux.xibuild
blob: de81cb14e319dd218b4d868de36a6e1dfb9bffda (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/sh

MAKEDEPS="make "
DEPS="sbase libcap libxcrypt readline"

PKG_VER=2.37.4
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 \
		--prefix=/usr \
		--disable-silent-rules \
		--enable-newgrp \
		--disable-uuidd \
		--disable-nls \
		--disable-tls \
		--disable-chfn-chsh \
		--with-vendordir=/usr/lib 
    make
}

package () {
    make DESTDIR=$PKG_DEST install 
}