CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Removed module-init-tools and replaced by kmod
[crossrootfs.git] / util-linux-ng / 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
JB
6
7name=util-linux-ng
7e69a012 8version=2.19.1
6dca1d21 9release=1
780e173f 10source=(http://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/util-linux-$version.tar.bz2)
6dca1d21
JB
11
12build() {
780e173f 13 cd util-linux-$version
6dca1d21
JB
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --mandir=/usr/man \
741ebc14 18 --disable-{nls,elvtune,wall,fallocate} \
2c7a1552 19 --enable-{write,rdev,raw,kill}
6dca1d21
JB
20
21 make
22 make DESTDIR=$PKG install
23
780e173f 24 install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
6dca1d21 25 touch $PKG/etc/adjtime
2c7a1552 26
780e173f 27 rm -r $PKG/usr/{share,man/ru}
6dca1d21
JB
28 rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
29 rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
30}