blob: f9ad7a18d9965e77cfda5ce8bddd787221a4051d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
description="Miscellaneous system utilities."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://userweb.kernel.org/~kzak/util-linux-ng/"
depends=(ncurses zlib)
name=util-linux-ng
version=2.18
release=2
source=(http://ftp.kernel.org/pub/linux/utils/$name/v$version/$name-$version.tar.bz2)
build ()
{
cd $name-$version;
./configure \
${CBUILD:+--build=${CBUILD}} \
${CHOST:+--host=${CHOST}} \
--prefix=$prefix \
--mandir=$mandir \
$(use_enable nls) \
--disable-wall \
--enable-{write,raw,kill};
make;
make DESTDIR=$PKG install;
install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}};
touch $PKG/etc/adjtime;
# Hey ! We have a Minix user in the team. We don’t want to hurt him. :)
#rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix};
#rm $PKG$mandir/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
}
|