Files
ports/main/crypto++/spkgbuild
2022-06-22 19:58:35 +00:00

15 lines
410 B
Plaintext

# description : A free C++ class library of cryptographic schemes
# homepage : https://www.cryptopp.com/
name=crypto++
version=8.6.0
_v=$(echo $version | sed 's/\./_/g')
release=1
source="$name-$version.tar.gz::https://github.com/weidai11/cryptopp/archive/CRYPTOPP_${_v}.tar.gz"
build() {
cd cryptopp-CRYPTOPP_${_v}
make PREFIX="/usr" all libcryptopp.pc
make DESTDIR=$PKG PREFIX="/usr" install
}