void-packages/srcpkgs/gsasl/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

33 lines
933 B
Bash

# Template file for 'gsasl'
pkgname=gsasl
version=1.8.0
revision=6
build_style=gnu-configure
configure_args="--with-gssapi-impl=mit"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
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="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/gsasl"
license="GPL-3"
checksum=310262d1ded082d1ceefc52d6dad265c1decae8d84e12b5947d9b1dd193191e5
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
}
}