diff --git a/common/shlibs b/common/shlibs index 5fabd88cb1f..24e2df09f9d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1381,7 +1381,7 @@ libkworkspace5.so.5 kworkspace-5.14.5_2 libdb-5.3.so libdb-5.3.21_1 libdb_cxx-5.3.so libdb-cxx-5.3.21_1 libcares.so.2 c-ares-1.10.0_1 -libcryptopp.so.8 crypto++-820_1 +libcryptopp.so.8 crypto++-8.3.0_1 libdbusmenu-glib.so.4 libdbusmenu-glib-12.10.2_1 libdbusmenu-gtk3.so.4 libdbusmenu-gtk3-12.10.2_1 libGrantlee_Templates.so.5 grantlee5-5.0.0_1 diff --git a/srcpkgs/crypto++/template b/srcpkgs/crypto++/template index d56e7ff2c20..b524377319e 100644 --- a/srcpkgs/crypto++/template +++ b/srcpkgs/crypto++/template @@ -1,19 +1,19 @@ # Template file for 'crypto++' pkgname=crypto++ -version=820 -revision=2 -create_wrksrc=yes +reverts="820_2" +version=8.3.0 +revision=1 +wrksrc="${pkgname//+/p}-CRYPTOPP_${version//./_}" build_style=gnu-makefile make_build_args="PREFIX=/usr" make_build_target="dynamic static libcryptopp.pc" make_install_target="install-lib" -hostmakedepends="unzip" short_desc="Free C++ class library of cryptographic schemes" maintainer="Orphaned " license="BSL-1.0" homepage="http://www.cryptopp.com/" -distfiles="http://www.cryptopp.com/cryptopp${version}.zip" -checksum=03f0e2242e11b9d19b28d0ec5a3fa8ed5cc7b27640e6bed365744f593e858058 +distfiles="https://github.com/weidai11/cryptopp/archive/CRYPTOPP_${version//./_}.tar.gz" +checksum=63304c6f943f435a4e385273e15abb69cff3b85a44663150bf5a6069b84abd43 CXXFLAGS="-DNDEBUG -fPIC" @@ -21,9 +21,11 @@ if [ "$XBPS_CROSS" ]; then make_build_args+=" -f GNUmakefile-cross" fi -post_extract() { - sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile +do_check() { + # The gnu-makefile build style does not use ${makejobs} + make ${makejobs} ${make_build_args} check } + post_install() { vlicense License.txt LICENSE }