2012-11-21 11:12:43 -06:00
|
|
|
# Description: Miscellaneous system utilities
|
|
|
|
# URL: http://userweb.kernel.org/~kzak/util-linux/
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2014-08-20 23:50:06 +10:00
|
|
|
# Depends on: ncurses-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=util-linux-32
|
2016-09-23 11:53:13 +10:00
|
|
|
version=2.28.2
|
2016-05-10 19:52:09 +10:00
|
|
|
release=1
|
2014-08-20 23:50:06 +10:00
|
|
|
source=(http://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$version.tar.xz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2013-10-24 19:22:59 +11:00
|
|
|
cd util-linux-$version
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2013-10-24 19:22:59 +11:00
|
|
|
./configure \
|
2014-08-20 23:50:06 +10:00
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--disable-nls \
|
2015-11-29 23:44:22 +11:00
|
|
|
--disable-{login,su,sulogin,nologin,runuser} \
|
|
|
|
--disable-chfn-chsh \
|
2014-08-20 23:50:06 +10:00
|
|
|
--enable-{write,raw,kill} \
|
|
|
|
--without-python
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2014-08-20 23:50:06 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2014-08-20 23:50:06 +10:00
|
|
|
rm -r \
|
|
|
|
$PKG/{bin,sbin} \
|
2016-09-04 18:01:54 +10:00
|
|
|
$PKG/usr/{bin,sbin,share/man,include} \
|
2014-08-20 23:50:06 +10:00
|
|
|
$PKG//usr/share/{bash-completion,doc}
|
|
|
|
|
|
|
|
rmdir $PKG/usr/share
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|