2018-02-09 15:21:43 +01:00
|
|
|
# Template file for 'libkcapi'
|
|
|
|
pkgname=libkcapi
|
2018-06-18 04:40:39 +02:00
|
|
|
version=1.1.1
|
2018-02-09 15:21:43 +01:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2018-04-12 19:06:28 +02:00
|
|
|
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"
|
2018-02-09 15:21:43 +01:00
|
|
|
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"
|
2018-06-18 04:40:39 +02:00
|
|
|
checksum=91d94ccba520db98765d32ec7df44b94d86005e833451b9aed2f0c6d3b647ac1
|
2018-02-09 15:21:43 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|