void-packages/srcpkgs/jose/template

33 lines
883 B
Bash
Raw Normal View History

2024-08-14 07:55:20 +02:00
# Template file for 'jose'
pkgname=jose
version=14
revision=1
build_style=meson
configure_args="-Db_ndebug=false"
hostmakedepends="asciidoc pkg-config"
makedepends="jansson-devel openssl-devel zlib-devel"
short_desc="Javascript Object Signing and Encryption"
maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
license="Apache-2.0"
homepage="https://github.com/latchset/jose"
distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
libjose_package() {
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
jose-devel_package() {
depends="lib${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}