mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
ecbf599c16
This commit has been automatically submitted by Github Actions.
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://packages.qa.debian.org/f/fakeroot.html
|
|
TERMUX_PKG_DESCRIPTION="Tool for simulating superuser privileges (with tcp ipc)"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.36"
|
|
TERMUX_PKG_SRCURL=https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_${TERMUX_PKG_VERSION}.orig.tar.gz
|
|
TERMUX_PKG_SHA256=7fe3cf3daf95ee93b47e568e85f4d341a1f9ae91766b4f9a9cdc29737dea4988
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ipc=tcp"
|
|
TERMUX_PKG_BUILD_DEPENDS="libcap"
|
|
|
|
termux_step_pre_configure() {
|
|
autoreconf -vfi
|
|
|
|
CPPFLAGS+=" -D_ID_T"
|
|
}
|
|
|
|
termux_step_post_make_install() {
|
|
ln -sfr "${TERMUX_PREFIX}/lib/libfakeroot-0.so" "${TERMUX_PREFIX}/lib/libfakeroot.so"
|
|
}
|
|
|
|
termux_step_create_debscripts() {
|
|
{
|
|
echo "#!$TERMUX_PREFIX/bin/sh"
|
|
echo "echo"
|
|
echo "echo Fakeroot does not give you any real root permissions. This utility is primarily intended to be used for development purposes."
|
|
echo "echo More info about usage at https://wiki.debian.org/FakeRoot."
|
|
echo "echo"
|
|
echo "echo Programs requiring real root permissions will not run under fakeroot. Do not post bug reports about this."
|
|
echo "echo"
|
|
} > ./postinst
|
|
}
|