termux-packages/packages/librhash/build.sh

21 lines
758 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=http://rhash.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Console utility for calculation and verification of magnet links and a wide range of hash sums"
2018-04-22 22:04:02 +02:00
TERMUX_PKG_VERSION=1.3.6
2018-05-13 07:17:09 +02:00
TERMUX_PKG_REVISION=1
2018-04-22 22:04:02 +02:00
TERMUX_PKG_SHA256=964df972b60569b5cb35ec989ced195ab8ea514fc46a74eab98e86569ffbcf92
2017-10-14 23:31:09 +02:00
TERMUX_PKG_SRCURL=https://github.com/rhash/RHash/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
termux_step_make () {
CFLAGS="-DOPENSSL_RUNTIME $CPPFLAGS $CFLAGS"
2018-05-13 07:17:09 +02:00
make -j $TERMUX_MAKE_PROCESSES \
ADDCFLAGS="$CFLAGS" \
ADDLDFLAGS="$LDFLAGS"
}
2018-05-13 07:17:09 +02:00
termux_step_post_make_install () {
ln -sf $TERMUX_PREFIX/lib/librhash.so.0 $TERMUX_PREFIX/lib/librhash.so
}