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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
2c7a1552 | 5 | # Depends on: ncurses zlib |
6dca1d21 | 6 | |
0d104183 | 7 | name=util-linux |
984f7d85 | 8 | version=2.24.2 |
6dca1d21 | 9 | release=1 |
984f7d85 | 10 | source=(https://www.kernel.org/pub/linux/utils/$name/v2.24/$name-$version.tar.xz) |
6dca1d21 JB |
11 | |
12 | build() { | |
780e173f | 13 | cd util-linux-$version |
6dca1d21 JB |
14 | ./configure --build=$CHOST \ |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr \ | |
17 | --mandir=/usr/man \ | |
8d17300d VM |
18 | --disable-{nls,wall} \ |
19 | --disable-{login,su,sulogin} \ | |
0d104183 | 20 | --enable-{write,raw,kill} |
6dca1d21 JB |
21 | |
22 | make | |
23 | make DESTDIR=$PKG install | |
24 | ||
780e173f | 25 | install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}} |
6dca1d21 | 26 | touch $PKG/etc/adjtime |
2c7a1552 | 27 | |
0d104183 | 28 | rm -r $PKG/usr/share |
6dca1d21 JB |
29 | rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix} |
30 | rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8 | |
31 | } |