void-packages/srcpkgs/libuecc/template

27 lines
686 B
Bash

# Template file for 'libuecc'
pkgname=libuecc
version=7
revision=2
build_style=cmake
short_desc="Very small Elliptic Curve Cryptography library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://git.universe-factory.net/libuecc"
distfiles="https://git.universe-factory.net/libuecc/snapshot/libuecc-${version}.tar"
checksum=0120aee869f56289204255ba81535369816655264dd018c63969bf35b71fd707
libuecc-devel_package() {
depends="libuecc>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
post_install() {
vlicense COPYRIGHT
}