void-packages/srcpkgs/gsasl/template
Anthony Iliopoulos 87ff176ccb gsasl: update to 1.10.0.
Closes: #28173 [via git-merge-pr]
2021-07-21 00:49:12 -03:00

33 lines
951 B
Bash

# Template file for 'gsasl'
pkgname=gsasl
version=1.10.0
revision=1
build_style=gnu-configure
configure_args="--with-gssapi-impl=mit"
hostmakedepends="pkg-config"
makedepends="readline-devel gnutls-devel libidn-devel mit-krb5-devel"
short_desc="GNU SASL framework and a few common SASL mechanisms"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/gsasl/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=85bcbd8ee6095ade7870263a28ebcb8832f541ea7393975494926015c07568d3
libgsasl_package() {
short_desc+=" - Runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
gsasl-devel_package() {
depends="libgcrypt-devel libgpg-error-devel libidn-devel libgsasl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}