CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: updated to 0.29.2
[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
494a9b16 8version=2.32
6dca1d21 9release=1
494a9b16 10source=(https://www.kernel.org/pub/linux/utils/$name/v${version:0:4}/$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 28 rm -r $PKG/usr/share/{doc,bash-completion}
494a9b16 29 rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
4fd54ae5 30 rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
6dca1d21 31}