summaryrefslogtreecommitdiffstats
path: root/util-linux-ng/Pkgfile
blob: 7440f0a45e22914d3cf00c7a6de7cf615f8e7caa (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
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 \
		--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
}