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:
parent
f761e55056
commit
1712ff8d84
2 changed files with 11 additions and 9 deletions
|
@ -1381,7 +1381,7 @@ libkworkspace5.so.5 kworkspace-5.14.5_2
|
||||||
libdb-5.3.so libdb-5.3.21_1
|
libdb-5.3.so libdb-5.3.21_1
|
||||||
libdb_cxx-5.3.so libdb-cxx-5.3.21_1
|
libdb_cxx-5.3.so libdb-cxx-5.3.21_1
|
||||||
libcares.so.2 c-ares-1.10.0_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-glib.so.4 libdbusmenu-glib-12.10.2_1
|
||||||
libdbusmenu-gtk3.so.4 libdbusmenu-gtk3-12.10.2_1
|
libdbusmenu-gtk3.so.4 libdbusmenu-gtk3-12.10.2_1
|
||||||
libGrantlee_Templates.so.5 grantlee5-5.0.0_1
|
libGrantlee_Templates.so.5 grantlee5-5.0.0_1
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'crypto++'
|
# Template file for 'crypto++'
|
||||||
pkgname=crypto++
|
pkgname=crypto++
|
||||||
version=820
|
reverts="820_2"
|
||||||
revision=2
|
version=8.3.0
|
||||||
create_wrksrc=yes
|
revision=1
|
||||||
|
wrksrc="${pkgname//+/p}-CRYPTOPP_${version//./_}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="PREFIX=/usr"
|
make_build_args="PREFIX=/usr"
|
||||||
make_build_target="dynamic static libcryptopp.pc"
|
make_build_target="dynamic static libcryptopp.pc"
|
||||||
make_install_target="install-lib"
|
make_install_target="install-lib"
|
||||||
hostmakedepends="unzip"
|
|
||||||
short_desc="Free C++ class library of cryptographic schemes"
|
short_desc="Free C++ class library of cryptographic schemes"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSL-1.0"
|
license="BSL-1.0"
|
||||||
homepage="http://www.cryptopp.com/"
|
homepage="http://www.cryptopp.com/"
|
||||||
distfiles="http://www.cryptopp.com/cryptopp${version}.zip"
|
distfiles="https://github.com/weidai11/cryptopp/archive/CRYPTOPP_${version//./_}.tar.gz"
|
||||||
checksum=03f0e2242e11b9d19b28d0ec5a3fa8ed5cc7b27640e6bed365744f593e858058
|
checksum=63304c6f943f435a4e385273e15abb69cff3b85a44663150bf5a6069b84abd43
|
||||||
|
|
||||||
CXXFLAGS="-DNDEBUG -fPIC"
|
CXXFLAGS="-DNDEBUG -fPIC"
|
||||||
|
|
||||||
|
@ -21,9 +21,11 @@ if [ "$XBPS_CROSS" ]; then
|
||||||
make_build_args+=" -f GNUmakefile-cross"
|
make_build_args+=" -f GNUmakefile-cross"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_extract() {
|
do_check() {
|
||||||
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
|
# The gnu-makefile build style does not use ${makejobs}
|
||||||
|
make ${makejobs} ${make_build_args} check
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense License.txt LICENSE
|
vlicense License.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue