forked from ports/compat-32
33 lines
730 B
Plaintext
33 lines
730 B
Plaintext
# Description: Miscellaneous system utilities
|
|
# URL: http://userweb.kernel.org/~kzak/util-linux/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: ncurses-32
|
|
|
|
name=util-linux-32
|
|
version=2.25.2
|
|
release=1
|
|
source=(http://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$version.tar.xz)
|
|
|
|
build() {
|
|
cd util-linux-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--mandir=/usr/man \
|
|
--disable-nls \
|
|
--disable-{login,su,sulogin,nologin} \
|
|
--enable-{write,raw,kill} \
|
|
--without-python
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r \
|
|
$PKG/{bin,sbin} \
|
|
$PKG/usr/{bin,sbin,man,include} \
|
|
$PKG//usr/share/{bash-completion,doc}
|
|
|
|
rmdir $PKG/usr/share
|
|
}
|