vishalbiswas
7 years ago
committed by
Fredrik Fornwall
1 changed files with 3 additions and 4 deletions
@ -1,21 +1,20 @@ |
|||||
TERMUX_PKG_HOMEPAGE=http://rhash.sourceforge.net/ |
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" |
TERMUX_PKG_DESCRIPTION="Console utility for calculation and verification of magnet links and a wide range of hash sums" |
||||
TERMUX_PKG_VERSION=1.3.6 |
TERMUX_PKG_VERSION=1.3.6 |
||||
|
TERMUX_PKG_REVISION=1 |
||||
TERMUX_PKG_SHA256=964df972b60569b5cb35ec989ced195ab8ea514fc46a74eab98e86569ffbcf92 |
TERMUX_PKG_SHA256=964df972b60569b5cb35ec989ced195ab8ea514fc46a74eab98e86569ffbcf92 |
||||
TERMUX_PKG_SRCURL=https://github.com/rhash/RHash/archive/v$TERMUX_PKG_VERSION.tar.gz |
TERMUX_PKG_SRCURL=https://github.com/rhash/RHash/archive/v$TERMUX_PKG_VERSION.tar.gz |
||||
TERMUX_PKG_DEPENDS="openssl" |
TERMUX_PKG_DEPENDS="openssl" |
||||
TERMUX_PKG_BUILD_IN_SRC=true |
TERMUX_PKG_BUILD_IN_SRC=true |
||||
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" |
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" |
||||
|
|
||||
# we only build the library since we don't need the binary |
|
||||
termux_step_make () { |
termux_step_make () { |
||||
CFLAGS="-DOPENSSL_RUNTIME $CPPFLAGS $CFLAGS" |
CFLAGS="-DOPENSSL_RUNTIME $CPPFLAGS $CFLAGS" |
||||
make lib-shared -j $TERMUX_MAKE_PROCESSES \ |
make -j $TERMUX_MAKE_PROCESSES \ |
||||
ADDCFLAGS="$CFLAGS" \ |
ADDCFLAGS="$CFLAGS" \ |
||||
ADDLDFLAGS="$LDFLAGS" |
ADDLDFLAGS="$LDFLAGS" |
||||
} |
} |
||||
|
|
||||
termux_step_make_install () { |
termux_step_post_make_install () { |
||||
make -C librhash install-lib-shared install-headers PREFIX=$TERMUX_PREFIX |
|
||||
ln -sf $TERMUX_PREFIX/lib/librhash.so.0 $TERMUX_PREFIX/lib/librhash.so |
ln -sf $TERMUX_PREFIX/lib/librhash.so.0 $TERMUX_PREFIX/lib/librhash.so |
||||
} |
} |
||||
|
Loading…
Reference in new issue