1
0
forked from ports/contrib
contrib/crypto++/Pkgfile

14 lines
390 B
Plaintext
Raw Normal View History

2011-09-23 23:23:12 +10:00
# Description: C++ class library of cryptographic schemes.
2019-09-20 23:42:12 +10:00
# URL: https://www.cryptopp.com/
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2011-09-23 23:23:12 +10:00
name=crypto++
2021-01-09 17:02:40 +11:00
version=8.4.0
2011-09-23 23:23:12 +10:00
release=1
2021-01-09 17:02:40 +11:00
source=(https://www.cryptopp.com/${name//++/pp}${version//./}.zip)
2011-09-23 23:23:12 +10:00
build() {
2021-01-09 17:02:40 +11:00
make CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" -f GNUmakefile dynamic libcryptopp.pc
make DESTDIR="$PKG" PREFIX="/usr" install-lib
2011-09-23 23:23:12 +10:00
}