CRUX-ARM : Home

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