Browse Source
hashdeep requires 64-bit off_t and fails with an assertion at startup if that is not satisfied. Build against Android 7.0 (android-24) to have working 64_bit on 32-bit arches (arm and i686). Fixes #1733.android-5
Fredrik Fornwall
7 years ago
1 changed files with 6 additions and 0 deletions
@ -1,9 +1,15 @@ |
|||||
TERMUX_PKG_HOMEPAGE=http://md5deep.sourceforge.net/ |
TERMUX_PKG_HOMEPAGE=http://md5deep.sourceforge.net/ |
||||
TERMUX_PKG_DESCRIPTION="Programs to compute hashsums of arbitrary number of files recursively" |
TERMUX_PKG_DESCRIPTION="Programs to compute hashsums of arbitrary number of files recursively" |
||||
TERMUX_PKG_VERSION=4.4 |
TERMUX_PKG_VERSION=4.4 |
||||
|
TERMUX_PKG_REVISION=1 |
||||
TERMUX_PKG_SRCURL=https://github.com/jessek/hashdeep/archive/v$TERMUX_PKG_VERSION.tar.gz |
TERMUX_PKG_SRCURL=https://github.com/jessek/hashdeep/archive/v$TERMUX_PKG_VERSION.tar.gz |
||||
TERMUX_PKG_SHA256=ad78d42142f9a74fe8ec0c61bc78d6588a528cbb9aede9440f50b6ff477f3a7f |
TERMUX_PKG_SHA256=ad78d42142f9a74fe8ec0c61bc78d6588a528cbb9aede9440f50b6ff477f3a7f |
||||
|
if [ "$TERMUX_ARCH_BITS" = 32 ]; then |
||||
|
# hashdeep requires 64-bit off_t. |
||||
|
TERMUX_PKG_API_LEVEL=24 |
||||
|
fi |
||||
|
|
||||
termux_step_pre_configure () { |
termux_step_pre_configure () { |
||||
sh bootstrap.sh |
sh bootstrap.sh |
||||
|
CPPFLAGS+=" -DTERMUX_EXPOSE_FILE_OFFSET64=1" |
||||
} |
} |
||||
|
Loading…
Reference in new issue