blob: 147dd1efe8ea06a1ac6413a287637bfa6e3e82f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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"
|