Skip to content

Commit

Permalink
gpkg/fakechroot: new pkg (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxython authored Nov 10, 2023
1 parent 0010b6e commit 28f2f1e
Show file tree
Hide file tree
Showing 7 changed files with 1,876 additions and 0 deletions.
20 changes: 20 additions & 0 deletions gpkg/fakechroot/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
TERMUX_PKG_HOMEPAGE=https://github.com/dex4er/fakechroot/wiki
TERMUX_PKG_DESCRIPTION="Gives a fake chroot environment"
TERMUX_PKG_LICENSE="LGPL-3.0"
TERMUX_PKG_MAINTAINER="@termux-pacman"
_VERSION=2.20.1
TERMUX_PKG_VERSION=2.20.2
TERMUX_PKG_SRCURL=https://github.com/dex4er/fakechroot/archive/${_VERSION}.tar.gz
TERMUX_PKG_SHA256=7f9d60d0d48611969e195fadf84d05f6c74f71bbf8f41950ad8f5bf061773e18
TERMUX_PKG_DEPENDS="bash-glibc, perl-glibc, which-glibc"
TERMUX_PKG_RECOMMENDS="fakeroot-glibc, fakehardlink-glibc"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--libdir=$TERMUX_PREFIX/lib/libfakeroot"
TERMUX_PKG_BUILD_IN_SRC=true

termux_step_pre_configure() {
./autogen.sh
}

termux_step_post_make_install() {
ln -sf libfakeroot/fakechroot/libfakechroot.so $TERMUX_PREFIX/lib
}
Loading

0 comments on commit 28f2f1e

Please sign in to comment.