| 1 | TERMUX_PKG_HOMEPAGE=http://md5deep.sourceforge.net/ |
| 2 | TERMUX_PKG_DESCRIPTION="Programs to compute hashsums of arbitrary number of files recursively" |
| 3 | TERMUX_PKG_VERSION=4.4 |
| 4 | TERMUX_PKG_REVISION=1 |
| 5 | TERMUX_PKG_SRCURL=https://github.com/jessek/hashdeep/archive/v$TERMUX_PKG_VERSION.tar.gz |
| 6 | TERMUX_PKG_SHA256=ad78d42142f9a74fe8ec0c61bc78d6588a528cbb9aede9440f50b6ff477f3a7f |
| 7 | if [ "$TERMUX_ARCH_BITS" = 32 ]; then |
| 8 | # hashdeep requires 64-bit off_t. |
| 9 | TERMUX_PKG_API_LEVEL=24 |
| 10 | fi |
| 11 | |
| 12 | termux_step_pre_configure () { |
| 13 | sh bootstrap.sh |
| 14 | CPPFLAGS+=" -DTERMUX_EXPOSE_FILE_OFFSET64=1" |
| 15 | } |