# Template file for 'libgssglue'
pkgname=libgssglue
version=0.4
revision=4
build_style=gnu-configure
configure_args="--disable-static ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
short_desc="Mechanism-switch gssapi library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.citi.umich.edu/projects/nfsv4/linux/"
distfiles="$homepage/$pkgname/$pkgname-$version.tar.gz"
checksum=3f791a75502ba723e5e85e41e5e0c711bb89e2716b7c0ec6e74bd1df6739043a

post_install() {
	vinstall ${FILESDIR}/gssapi_mech.conf 644 etc
}

libgssglue-devel_package() {
	depends="libgssglue>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

libgssglue_package() {
	conf_files="/etc/gssapi_mech.conf"
	pkg_install() {
		vmove all
	}
}
