testdisk: link against libandroid-glob

And no need to build in src anymore it seems.
This commit is contained in:
Henrik Grimler 2021-03-02 09:07:31 +01:00 committed by Yaksh Bariya
parent 5359f9594d
commit 7ce34d2a1f
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -6,7 +6,7 @@ TERMUX_PKG_VERSION=7.1
TERMUX_PKG_REVISION=1 TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.cgsecurity.org/testdisk-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SRCURL=https://www.cgsecurity.org/testdisk-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=1413c47569e48c5b22653b943d48136cb228abcbd6f03da109c4df63382190fe TERMUX_PKG_SHA256=1413c47569e48c5b22653b943d48136cb228abcbd6f03da109c4df63382190fe
TERMUX_PKG_DEPENDS="libuuid, zlib, libjpeg-turbo, libiconv, ncurses" TERMUX_PKG_DEPENDS="libuuid, zlib, libjpeg-turbo, libiconv, ncurses, libandroid-glob"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--bindir=$TERMUX_PREFIX/bin --bindir=$TERMUX_PREFIX/bin
--sysconfdir=$TERMUX_PREFIX/etc --sysconfdir=$TERMUX_PREFIX/etc
@ -16,9 +16,11 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--without-ntfs3g --without-ntfs3g
--without-ntfs --without-ntfs
--without-reiserfs --without-reiserfs
CXXLIBS=-lncurses
" "
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
export LIBS="-lncurses -landroid-glob"
}
termux_step_make() { termux_step_make() {
make -j2 static make -j2 static