2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 16:50:07 -07:00
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