void-packages/srcpkgs/libkcapi/template
maxice8 6d67943643 libkcapi: update to 1.1.0.
Closes #13411.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-18 23:55:40 +02:00

34 lines
958 B
Bash

# Template file for 'libkcapi'
pkgname=libkcapi
version=1.1.0
revision=1
build_style=gnu-configure
configure_args=" --enable-kcapi-speed --enable-kcapi-hasher
--enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp
--enable-lib-asym --enable-lib-kpp"
hostmakedepends="automake libtool pkg-config"
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=fa43554ab8bac1be18a4f8e25def79658bf315e5f00ca66faf4718c4ac637f13
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"
}
}