Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Miscellaneous system utilities |
2 | # URL: http://userweb.kernel.org/~kzak/util-linux-ng/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
2c7a1552 | 5 | # Depends on: ncurses zlib |
6dca1d21 JB |
6 | |
7 | name=util-linux-ng | |
2c7a1552 | 8 | version=2.16.2 |
6dca1d21 JB |
9 | release=1 |
10 | source=(http://www.kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | ./configure --build=$CHOST \ | |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr \ | |
17 | --mandir=/usr/man \ | |
18 | --disable-{nls,elvtune,wall} \ | |
2c7a1552 | 19 | --enable-{write,rdev,raw,kill} |
6dca1d21 JB |
20 | |
21 | make | |
22 | make DESTDIR=$PKG install | |
23 | ||
2c7a1552 | 24 | install -d $PKG/{etc,var/{lib,libuuid,run/uuidd}} |
6dca1d21 | 25 | touch $PKG/etc/adjtime |
2c7a1552 | 26 | |
6dca1d21 JB |
27 | rm -r $PKG/usr/share |
28 | rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix} | |
29 | rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8 | |
30 | } |