From 36af66435b3dca8e4c3092d6ebb49f6a29494ca6 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 18 May 2018 03:22:17 +0200 Subject: [PATCH] librhash: Include pkg-config file --- packages/librhash/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/librhash/build.sh b/packages/librhash/build.sh index 814fe1b45..dcf4fab74 100644 --- a/packages/librhash/build.sh +++ b/packages/librhash/build.sh @@ -1,7 +1,7 @@ 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_VERSION=1.3.6 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SHA256=964df972b60569b5cb35ec989ced195ab8ea514fc46a74eab98e86569ffbcf92 TERMUX_PKG_SRCURL=https://github.com/rhash/RHash/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_DEPENDS="openssl" @@ -15,6 +15,9 @@ termux_step_make () { ADDLDFLAGS="$LDFLAGS" } -termux_step_post_make_install () { +termux_step_make_install () { + make install install-pkg-config + make -C librhash install-headers + ln -sf $TERMUX_PREFIX/lib/librhash.so.0 $TERMUX_PREFIX/lib/librhash.so }