crypto++: update to 8.3.0

Upstream switched version numbering to major, minor, patchlevel and
decided to delimit them by underscores.
This commit is contained in:
Jürgen Buchmüller 2020-12-26 00:18:44 +01:00
parent f761e55056
commit 1712ff8d84
2 changed files with 11 additions and 9 deletions

View file

@ -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

View file

@ -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 <orphan@voidlinux.org>"
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
}