2012-11-21 11:12:43 -06:00
|
|
|
# Description: Miscellaneous system utilities
|
2017-03-02 22:24:57 +11:00
|
|
|
# URL: https://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
|
2016-11-13 12:58:34 +11:00
|
|
|
# Depends on: eudev-32 readline-32 zlib-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=util-linux-32
|
2019-04-11 08:50:45 +10:00
|
|
|
version=2.33.2
|
2016-05-10 19:52:09 +10:00
|
|
|
release=1
|
2017-03-02 22:24:57 +11:00
|
|
|
source=(https://www.kernel.org/pub/linux/utils/${name%-*}/v${version:0:4}/${name%-*}-$version.tar.xz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2017-03-02 22:24:57 +11:00
|
|
|
cd ${name%-*}-$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
|
|
|
}
|