# Description: C++ class library of cryptographic schemes.
# URL: https://www.cryptopp.com/
# Maintainer: Danny Rawlins, crux at romster dot me

name=crypto++
version=8.7.0
release=1
source=(https://www.cryptopp.com/${name//++/pp}${version//./}.zip)

build() {
	make CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" -f GNUmakefile dynamic libcryptopp.pc
	make DESTDIR="$PKG" PREFIX="/usr" install-lib
}
