1
0
forked from ports/contrib

crypto++: fixed source

This commit is contained in:
Tim Biermann 2020-05-25 19:20:35 +00:00
parent d8865ba59d
commit f48abbf958
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3ykyMZ1XzLrC/iGPI82D67VBlpw+ASIjhcaLynuVL0vDHHYeiQNU3f/hrgc649dlx2zhDS5SdgM2RfMArJBHMAA=
SHA256 (Pkgfile) = 967d2e332c3cdad7f1ca7c750fd09c60360b1a9297a490769baa64126ae1d75a
RWSagIOpLGJF37rCGdG0ZwQmHlY9q+V9zMuDAqQbfacy4mRppoQakljJ/qbQVYhY92B48JtNy0jIk2o6bKyYHwti8nD3BC+Qlw0=
SHA256 (Pkgfile) = 716508ba4957eb93856c3bc511b9a597d5e76c0127864ac59804b5a44fe5d3bf
SHA256 (.footprint) = f7af05614866fbf6bf82295d41892c31f4d3dbad3a27472d57d9adcdfab1e217
SHA256 (cryptopp820.zip) = 03f0e2242e11b9d19b28d0ec5a3fa8ed5cc7b27640e6bed365744f593e858058
SHA256 (crypto++-8.2.0.tar.gz) = e3bcd48a62739ad179ad8064b523346abb53767bcbefc01fe37303412292343e
SHA256 (libcrypto++.pc.in) = 5262e52a83473b528fcda0d2a6a1affcc5c3d894f48830de8a4a5473ee1bd797

View File

@ -5,10 +5,11 @@
name=crypto++
version=8.2.0
release=1
source=(http://www.cryptopp.com/${name/++/pp}${version//\./}.zip
source=(https://github.com/weidai11/cryptopp/archive/CRYPTOPP_${version//./_}/$name-$version.tar.gz
libcrypto++.pc.in)
build() {
cd ${name//++/pp}-CRYPTOPP_${version//./_}
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
export CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC"