mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-09 18:01:50 +01:00
29 lines
794 B
Plaintext
29 lines
794 B
Plaintext
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
|
|
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
|
|
pkgname=libuecc
|
|
pkgver=7
|
|
pkgrel=1
|
|
pkgdesc="Very small Elliptic Curve Cryptography library"
|
|
options="!check" # No testsuite
|
|
url="https://git.universe-factory.net/libuecc"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
makedepends="cmake"
|
|
subpackages="$pkgname-dev"
|
|
source="https://git.universe-factory.net/${pkgname}/snapshot/${pkgname}-${pkgver}.tar"
|
|
|
|
build() {
|
|
mkdir build
|
|
cd build
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr ..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir/build"
|
|
make install DESTDIR="${pkgdir}"
|
|
rm -f "$pkgdir"/usr/lib/*.a
|
|
}
|
|
|
|
sha512sums="3b9bfc62709bf8242fc4caeeda1c079fe17bb74492eb14527d0a8afbe969a836dd5b62b4408adb3ff80b9f7dcdfdc8f6be9886dc6e4181780b55c71fd6c604d8 libuecc-7.tar"
|