CRUX-ARM : Home

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