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
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
5 # Depends on: eudev file readline bzip2 xz
6
7 name=util-linux
8 version=2.37.1
9 release=1
10 source=(https://www.kernel.org/pub/linux/utils/$name/v${version:0:4}/$name-$version.tar.xz
11 $name-man-$version.tar.xz)
12
13 build() {
14 cd $name-$version
15
16 ./configure --prefix=/usr \
17 --disable-nls \
18 --disable-asciidoc \
19 --disable-{login,su,sulogin,nologin,runuser} \
20 --disable-chfn-chsh \
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
29 cp -r $SRC/man $PKG/usr/share
30
31 rm -r $PKG/usr/share/{doc,bash-completion}
32 rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
33 rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
34
35 }