mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-25 10:32:20 +01:00
30 lines
798 B
Plaintext
30 lines
798 B
Plaintext
# Contributor: August Klein <amatcoder@gmail.com>
|
|
# Maintainer: August Klein <amatcoder@gmail.com>
|
|
pkgname=crypto++
|
|
_pkgname=cryptopp
|
|
pkgver=8.5.0
|
|
_pkgver=${pkgver//./}
|
|
pkgrel=0
|
|
pkgdesc="A free C++ class library of cryptographic schemes"
|
|
url="https://www.cryptopp.com/"
|
|
arch="all"
|
|
license="BSL-1.0"
|
|
depends_dev="$pkgname"
|
|
subpackages="$pkgname-static $pkgname-dev"
|
|
source="https://www.cryptopp.com/$_pkgname$_pkgver.zip"
|
|
builddir="$srcdir"
|
|
|
|
build() {
|
|
make CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" -f GNUmakefile dynamic libcryptopp.pc
|
|
}
|
|
|
|
check() {
|
|
make -f GNUmakefile check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" PREFIX="/usr" install-lib
|
|
}
|
|
|
|
sha512sums="090472545c74bbf0579b56b09e8b5dcd777b38f29f7199a2e68f45d4a8c687acc82f105ba8b2a38f9aa65e5997a3d846aaf2341ab74d58b4bbfd1f5f03823b93 cryptopp850.zip"
|