2018-10-01 16:25:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://packages.debian.org/fakeroot
|
|
|
|
TERMUX_PKG_DESCRIPTION="Tool for simulating superuser privileges (with tcp ipc)"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2019-05-16 18:54:59 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2019-09-18 14:29:42 +02:00
|
|
|
TERMUX_PKG_VERSION=1.24
|
2019-10-15 13:34:10 +02:00
|
|
|
TERMUX_PKG_REVISION=3
|
2019-09-18 14:29:42 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_${TERMUX_PKG_VERSION}.orig.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=2e045b3160370b8ab4d44d1f8d267e5d1d555f1bb522d650e7167b09477266ed
|
2018-10-01 16:25:26 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ipc=tcp"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="libcap"
|
2018-10-02 11:24:41 +02:00
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
|
|
|
ln -sfr "${TERMUX_PREFIX}/lib/libfakeroot-0.so" "${TERMUX_PREFIX}/lib/libfakeroot.so"
|
|
|
|
}
|
2019-10-15 13:01:59 +02:00
|
|
|
|
|
|
|
termux_step_create_debscripts() {
|
|
|
|
{
|
|
|
|
echo "#!$TERMUX_PREFIX/bin/sh"
|
|
|
|
echo "echo"
|
2019-10-15 13:34:10 +02:00
|
|
|
echo "echo Fakeroot does not give you any real root permissions. Utility is primarily intended to be used for development purposes."
|
2019-10-15 13:21:35 +02:00
|
|
|
echo "echo More info about usage at https://wiki.debian.org/FakeRoot."
|
2019-10-15 13:01:59 +02:00
|
|
|
echo "echo"
|
2019-10-15 13:21:35 +02:00
|
|
|
echo "echo Programs requiring real root permissions will not run under fakeroot. Do not post bug reports about this."
|
2019-10-15 13:01:59 +02:00
|
|
|
echo "echo"
|
|
|
|
} > ./postinst
|
|
|
|
}
|