2006-02-23 16:26:10 +01:00
|
|
|
|
# Description: Miscellaneous system utilities
|
|
|
|
|
# URL: http://freshmeat.net/projects/util-linux/
|
2006-04-20 22:37:09 +02:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
# Depends on: e2fsprogs, ncurses, zlib
|
|
|
|
|
|
|
|
|
|
name=util-linux
|
|
|
|
|
version=2.12r
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://www.kernel.org/pub/linux/utils/util-linux/$name-$version.tar.gz \
|
|
|
|
|
$name-$version.patch)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
patch -p1 < ../$name-$version.patch
|
|
|
|
|
./configure
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
touch $PKG/etc/adjtime
|
|
|
|
|
rm -rf $PKG/usr/{share,man/man6,share/misc/getopt}
|
|
|
|
|
rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix,elvtune}
|
|
|
|
|
rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix,sln,elvtune}.8
|
|
|
|
|
}
|