# Template file for 'sssd'
pkgname=sssd
version=1.13.4
revision=1
build_style=gnu-configure
configure_args="--with-selinux=no --with-semanage=no
 --disable-cifs-idmap-plugin --without-samba --disable-config-lib
 --without-python3-bindings"
hostmakedepends="pkg-config nscd bind xmlcatmgr docbook-xsl"
makedepends="pam-devel popt-devel talloc-devel tdb-devel tevent-devel ldb-devel
 ding-libs-devel libldap-devel mit-krb5-devel c-ares-devel glib-devel
 libxslt-devel python-devel nss-devel libnfsidmap-devel"
short_desc="System Security Services Daemon"
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
license="GPL-3"
homepage="https://pagure.io/SSSD/sssd/"
distfiles="https://releases.pagure.org/SSSD/sssd/sssd-${version}.tar.gz"
checksum=0a7bba7697088734c5fa1844dbb6de4f1f11afd30df02f0c1dd2579114c0a194

post_install() {
	rm -rf /etc/rc.d
}

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