2019-07-16 01:06:51 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
patch -p1 < silence-dlerror.patch
|
|
|
|
patch -p0 < fakeroot-no64.patch
|
|
|
|
patch -p0 < fakeroot-stdint.patch
|
2019-07-16 01:19:18 -06:00
|
|
|
patch -p0 < busybox_compat_force_abslibpath.patch
|
2019-07-20 09:59:04 -06:00
|
|
|
patch -p1 < xstatjunk.patch
|
2019-07-16 01:06:51 -06:00
|
|
|
|
|
|
|
export CONFIG_SHELL=/bin/sh
|
|
|
|
export CFLAGS="-D_STAT_VER=0 $CFLAGS"
|
|
|
|
|
2019-07-20 09:59:04 -06:00
|
|
|
./bootstrap
|
|
|
|
|
2019-07-16 01:06:51 -06:00
|
|
|
ac_cv_func_capset=no \
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static
|
|
|
|
|
|
|
|
make DESTDIR="$1" install
|
2019-08-18 18:37:14 -06:00
|
|
|
|
|
|
|
# Remove docs.
|
|
|
|
rm -rf "$1/usr/share/man/nl"
|
|
|
|
rm -rf "$1/usr/share/man/pt"
|
|
|
|
rm -rf "$1/usr/share/man/sv"
|
|
|
|
rm -rf "$1/usr/share/man/fr"
|
|
|
|
rm -rf "$1/usr/share/man/es"
|
|
|
|
rm -rf "$1/usr/share/man/de"
|