Browse Source

cryptopp: fix libcryptopp.so.8 symlinks

android-5
Leonid Plyushch 5 years ago
parent
commit
1b6230004e
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      packages/cryptopp/build.sh
  2. 12
      packages/cryptopp/fix-lib-symlinks.patch

2
packages/cryptopp/build.sh

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A free C++ class library of cryptographic schemes"
TERMUX_PKG_LICENSE="BSL-1.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=8.2.0
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://www.cryptopp.com/cryptopp${TERMUX_PKG_VERSION//./}.zip
TERMUX_PKG_SHA256=03f0e2242e11b9d19b28d0ec5a3fa8ed5cc7b27640e6bed365744f593e858058
TERMUX_PKG_BREAKS="cryptopp-dev"

12
packages/cryptopp/fix-lib-symlinks.patch

@ -0,0 +1,12 @@
diff -uNr cryptopp/GNUmakefile cryptopp.mod/GNUmakefile
--- cryptopp/GNUmakefile 2019-04-29 02:36:50.000000000 +0300
+++ cryptopp.mod/GNUmakefile 2019-09-15 22:24:49.562595722 +0300
@@ -1256,7 +1256,7 @@
$(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX)
ifeq ($(HAS_SOLIB_VERSION),1)
-$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so
- $(LDCONF) $(DESTDIR)$(LIBDIR)
+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
endif
endif
ifneq ($(wildcard libcryptopp.pc),)
Loading…
Cancel
Save