0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/root-packages/testdisk/build.sh
Tee KOBAYASHI bfed5522b9 testdisk: Revbump to rebuild
due to SONAME change in libjpeg-turbo.
2023-06-30 20:57:38 +09:00

28 lines
826 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.cgsecurity.org/wiki/TestDisk
TERMUX_PKG_DESCRIPTION="Partition Recovery and File Undelete"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=7.1
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://www.cgsecurity.org/testdisk-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=1413c47569e48c5b22653b943d48136cb228abcbd6f03da109c4df63382190fe
TERMUX_PKG_DEPENDS="libuuid, zlib, libjpeg-turbo, libiconv, ncurses, libandroid-glob"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--bindir=$TERMUX_PREFIX/bin
--sysconfdir=$TERMUX_PREFIX/etc
--localstatedir=$TERMUX_PREFIX/var
--mandir=$TERMUX_PREFIX/share/man
--without-ewf
--without-ntfs3g
--without-ntfs
--without-reiserfs
"
termux_step_pre_configure() {
export LIBS="-lncurses -landroid-glob"
}
termux_step_make() {
make -j2 static
}