termux-packages/packages/hashdeep/build.sh

17 lines
590 B
Bash
Raw Normal View History

2017-09-23 01:52:28 +02:00
TERMUX_PKG_HOMEPAGE=http://md5deep.sourceforge.net/
2017-09-23 02:24:10 +02:00
TERMUX_PKG_DESCRIPTION="Programs to compute hashsums of arbitrary number of files recursively"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
2017-09-23 01:52:28 +02:00
TERMUX_PKG_VERSION=4.4
2019-02-23 12:38:12 +01:00
TERMUX_PKG_REVISION=3
2017-09-23 01:52:28 +02:00
TERMUX_PKG_SRCURL=https://github.com/jessek/hashdeep/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=ad78d42142f9a74fe8ec0c61bc78d6588a528cbb9aede9440f50b6ff477f3a7f
if [ "$TERMUX_ARCH_BITS" = 32 ]; then
# hashdeep requires 64-bit off_t.
TERMUX_PKG_API_LEVEL=24
fi
2017-09-23 01:52:28 +02:00
termux_step_pre_configure() {
2017-09-23 02:24:10 +02:00
sh bootstrap.sh
CPPFLAGS+=" -DTERMUX_EXPOSE_FILE_OFFSET64=1"
2017-09-23 01:52:28 +02:00
}