CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
6db6b190bb7392c30a48ea4d36f2508d3297d2a1
[crossrootfs.git] / util-linux / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: ncurses zlib
6
7 name=util-linux
8 version=2.27.1
9 release=1
10 source=(https://www.kernel.org/pub/linux/utils/$name/v2.27/$name-$version.tar.xz)
11
12 build() {
13 cd util-linux-$version
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
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/{doc,bash-completion}
29 rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
30 }