repo/core/fakeroot/build
2019-07-20 22:59:04 +07:00

20 lines
378 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < silence-dlerror.patch
patch -p0 < fakeroot-no64.patch
patch -p0 < fakeroot-stdint.patch
patch -p0 < busybox_compat_force_abslibpath.patch
patch -p1 < xstatjunk.patch
export CONFIG_SHELL=/bin/sh
export CFLAGS="-D_STAT_VER=0 $CFLAGS"
./bootstrap
ac_cv_func_capset=no \
./configure \
--prefix=/usr \
--disable-static
make DESTDIR="$1" install