2007-12-05 17:30:18 +01:00
|
|
|
# Description: Miscellaneous system utilities
|
2012-11-22 12:38:39 -06:00
|
|
|
# URL: http://userweb.kernel.org/~kzak/util-linux-ng/
|
2007-12-05 17:30:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2009-07-03 18:30:45 +02:00
|
|
|
# Depends on: ncurses zlib
|
2007-12-05 17:30:18 +01:00
|
|
|
|
2012-08-08 10:20:19 +02:00
|
|
|
name=util-linux
|
2014-04-25 15:05:30 +02:00
|
|
|
version=2.24.2
|
2012-09-05 09:14:47 +02:00
|
|
|
release=1
|
2013-10-22 12:55:28 +02:00
|
|
|
source=(https://www.kernel.org/pub/linux/utils/$name/v2.24/$name-$version.tar.xz)
|
2007-12-05 17:30:18 +01:00
|
|
|
|
|
|
|
build() {
|
2012-08-08 10:20:19 +02:00
|
|
|
cd $name-$version
|
2009-05-15 13:21:25 +02:00
|
|
|
|
2007-12-05 17:30:18 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
2013-10-22 13:13:50 +02:00
|
|
|
--disable-nls \
|
|
|
|
--disable-{login,su,sulogin,nologin} \
|
|
|
|
--enable-{write,raw,kill}
|
|
|
|
|
2009-07-16 14:22:04 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2009-05-15 13:21:25 +02:00
|
|
|
|
2009-07-16 14:22:04 +02:00
|
|
|
install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
|
2007-12-05 17:30:18 +01:00
|
|
|
touch $PKG/etc/adjtime
|
|
|
|
|
2012-09-17 12:46:10 +02:00
|
|
|
rm -r $PKG/usr/share
|
2013-10-22 13:13:50 +02:00
|
|
|
rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
|
|
|
|
rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
|
2007-12-05 17:30:18 +01:00
|
|
|
}
|