summaryrefslogtreecommitdiffstats
path: root/util-linux-ng/Pkgfile
blob: 375c1706451af05c4de11a36eb9bb7329d8b8e99 (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 \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--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
}