void-packages/srcpkgs/libkcapi/template
maxice8 a92afb5120 New package: libkcapi-1.0.3.
Closes: #11513 [via git-merge-pr]
2018-03-17 22:28:49 -07:00

40 lines
985 B
Bash

# Template file for 'libkcapi'
pkgname=libkcapi
version=1.0.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config autoconf automake libtool"
short_desc="Kernel Crypto API User Space Interface Library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later, BSD-3-Clause"
homepage="https://github.com/smuellerDD/libkcapi"
distfiles="https://github.com/smuellerDD/libkcapi/archive/v${version}.tar.gz"
checksum=b9e61df09870084b910a9623284596857583918c0a39f0e37906f462b535ba78
configure_args="
--enable-kcapi-speed \
--enable-kcapi-hasher \
--enable-kcapi-rngapp \
--enable-kcapi-encapp \
--enable-kcapi-dgstapp \
--enable-lib-asym \
--enable-lib-kpp
"
pre_configure() {
autoreconf -i
}
post_install() {
vlicense COPYING
}
libkcapi-devel_package() {
depends=${sourcepkg}>=${version}_${revision}
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}