aports/testing/libuecc/APKBUILD

31 lines
809 B
Text
Raw Normal View History

# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
2023-10-18 14:03:28 +02:00
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=libuecc
2016-11-04 20:12:34 +00:00
pkgver=7
pkgrel=4
pkgdesc="Very small Elliptic Curve Cryptography library"
url="https://github.com/neocturne/libuecc"
arch="all"
2019-06-07 15:51:33 -03:00
license="BSD-2-Clause"
makedepends="cmake"
2020-05-03 00:33:47 +02:00
options="!check" # No testsuite
2019-06-07 15:51:33 -03:00
subpackages="$pkgname-dev"
source="https://github.com/neocturne/libuecc/archive/refs/tags/v$pkgver/libuecc-$pkgver.tar.gz"
build() {
2020-05-03 00:33:47 +02:00
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
.
make -C build
}
package() {
2020-05-03 00:33:47 +02:00
make -C build DESTDIR="$pkgdir" install
2019-06-07 15:51:33 -03:00
rm -f "$pkgdir"/usr/lib/*.a
}
sha512sums="
ccb65e9eeea5147ec42b4ae7d004af3c58bbc26706f20c07b917fd56cd4c5adcd4173bf743efe8f1c6df0fbe76fca2ff86ece5e72b17365d30957fd37b602381 libuecc-7.tar.gz
"