summaryrefslogtreecommitdiffstats
path: root/util-linux-ng/Pkgfile
blob: 3f63eb5c29803563f688e27ab27b1ffe7a411351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
description="Miscellaneous system utilities"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
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/util-linux-ng/v2.18/util-linux-ng-2.18.tar.bz2)
build () 
{ 
    cd $name-$version;
    ./configure --prefix=/usr --mandir=/usr/man --disable-{nls,wall} --enable-{write,raw,kill};
    make;
    make DESTDIR=$PKG install;
    install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}};
    touch $PKG/etc/adjtime;
    rm -r $PKG/usr/share;
    rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix};
    rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
}