CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux: updated to 2.29.1
[crossrootfs.git] / util-linux / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Miscellaneous system utilities
2# URL: http://userweb.kernel.org/~kzak/util-linux-ng/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
2c7a1552 5# Depends on: ncurses zlib
6dca1d21 6
0d104183 7name=util-linux
2ef41b4e 8version=2.29.1
6dca1d21 9release=1
2ef41b4e 10source=(https://www.kernel.org/pub/linux/utils/$name/v2.29/$name-$version.tar.xz)
6dca1d21
JB
11
12build() {
780e173f 13 cd util-linux-$version
6dca1d21
JB
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
4fd54ae5
VM
17 --disable-{login,su,sulogin,nologin,runuser} \
18 --disable-chfn-chsh \
19 --enable-{write,raw,kill} \
20 --without-python
6dca1d21
JB
21
22 make
23 make DESTDIR=$PKG install
24
780e173f 25 install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
6dca1d21 26 touch $PKG/etc/adjtime
2c7a1552 27
4fd54ae5
VM
28 rm -r $PKG/usr/share/{doc,bash-completion}
29 rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
6dca1d21 30}