CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
640eb61518757deec06d1e45fc8b8b4c3585ff21
[ports/core-arm.git] / util-linux / Pkgfile
1 # Description: Miscellaneous system utilities
2 # URL: https://www.kernel.org/pub/linux/utils/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 ncurses zlib
6
7 name=util-linux
8 version=2.35.2
9 release=1
10 source=(https://www.kernel.org/pub/linux/utils/$name/v${version:0:4}/$name-$version.tar.xz)
11
12 build() {
13 cd $name-$version
14
15 ./configure --prefix=/usr \
16 --disable-nls \
17 --disable-{login,su,sulogin,nologin,runuser} \
18 --disable-chfn-chsh \
19 --enable-{write,raw,kill} \
20 --without-python
21
22 make
23 make DESTDIR=$PKG install
24
25 install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
26 touch $PKG/etc/adjtime
27
28 rm -r $PKG/usr/share
29 rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
30 }