CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux: updated to 2.37.1
[ports/core-arm64.git] / util-linux / Pkgfile
CommitLineData
3e441b9a
VM
1# Description: Miscellaneous system utilities
2# URL: http://userweb.kernel.org/~kzak/util-linux/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
50688c3c 5# Depends on: eudev file readline bzip2 xz
3e441b9a
VM
6
7name=util-linux
05bbaa0e 8version=2.37.1
3e441b9a 9release=1
50688c3c
VM
10source=(https://www.kernel.org/pub/linux/utils/$name/v${version:0:4}/$name-$version.tar.xz
11 $name-man-$version.tar.xz)
3e441b9a
VM
12
13build() {
14 cd $name-$version
15
16 ./configure --prefix=/usr \
17 --disable-nls \
50688c3c 18 --disable-asciidoc \
3e441b9a 19 --disable-{login,su,sulogin,nologin,runuser} \
4255cad9 20 --disable-chfn-chsh \
3e441b9a
VM
21 --enable-{write,raw,kill} \
22 --without-python
23
24 make
25 make DESTDIR=$PKG install
26
27 install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
28 touch $PKG/etc/adjtime
50688c3c 29 cp -r $SRC/man $PKG/usr/share
3e441b9a 30
a6477399 31 rm -r $PKG/usr/share/{doc,bash-completion}
3e441b9a 32 rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
a6477399
VM
33 rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
34
3e441b9a 35}