CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux: updated to 2.22.2 and aligned with upstream
[crossrootfs.git] / util-linux / Pkgfile
... / ...
CommitLineData
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
7name=util-linux
8version=2.22.2
9release=1
10source=(http://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/util-linux-$version.tar.xz)
11
12build() {
13 cd util-linux-$version
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --mandir=/usr/man \
18 --disable-{login,su,su} \
19 --enable-{write,raw,kill}
20
21 make
22 make DESTDIR=$PKG install
23
24 install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
25 touch $PKG/etc/adjtime
26
27 rm -r $PKG/usr/share
28 rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
29 rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
30}