You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
611 B
22 lines
611 B
9 years ago
|
TERMUX_PKG_HOMEPAGE=http://proot.me/
|
||
|
TERMUX_PKG_DESCRIPTION="Emulate chroot, bind mount and binfmt_misc for non-root users"
|
||
9 years ago
|
TERMUX_PKG_VERSION=5.1.99
|
||
|
TERMUX_PKG_SRCURL=https://github.com/proot-me/PRoot/archive/next.zip
|
||
|
TERMUX_PKG_FOLDERNAME=PRoot-next
|
||
9 years ago
|
TERMUX_PKG_DEPENDS="libtalloc"
|
||
|
|
||
|
export LD=$CC
|
||
9 years ago
|
|
||
|
termux_step_make_install () {
|
||
9 years ago
|
export CROSS_COMPILE=${TERMUX_HOST_PLATFORM}-
|
||
|
|
||
9 years ago
|
cd $TERMUX_PKG_SRCDIR/src
|
||
9 years ago
|
make V=1
|
||
9 years ago
|
make install
|
||
9 years ago
|
|
||
|
mkdir -p $TERMUX_PREFIX/share/man/man1
|
||
|
cp $TERMUX_PKG_SRCDIR/doc/proot/man.1 $TERMUX_PREFIX/share/man/man1/proot.1
|
||
9 years ago
|
|
||
|
cp $TERMUX_PKG_BUILDER_DIR/termux-chroot $TERMUX_PREFIX/bin/
|
||
9 years ago
|
}
|