cyrus-sasl: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 23:10:14 +02:00
parent 239d18a991
commit fe94d74447
1 changed files with 5 additions and 7 deletions

View File

@ -2,9 +2,10 @@
. ${XBPS_SRCPKGDIR}/libsasl/template
# Unset some unneeded stuff.
unset run_depends build_depends
unset depends makedepends
pkgname=cyrus-sasl
revision=7
configure_args="--with-saslauthd=/run/saslauthd
--enable-login --enable-plain --enable-sql --disable-sqlite
--enable-postgresql --enable-mysql --enable-ldapdb --with-ldap=/usr"
@ -17,15 +18,11 @@ long_desc="${long_desc}
programs for the SASL users database and common binary files for plugin
modules."
revision=6
subpackages="${pkgname}-modules-ldap ${pkgname}-modules-sql ${pkgname}-modules"
systemd_services="saslauthd.service on"
conf_files="/etc/conf.d/saslauthd"
post_install()
{
post_install() {
# Remove stuff in libsasl{,-devel} pkgs.
rm -rf ${DESTDIR}/usr/share/man/man3
rm -rf ${DESTDIR}/usr/include
@ -33,7 +30,8 @@ post_install()
rm -rf ${DESTDIR}/usr/lib/sasl2/libsasldb*
# systemd
vinstall ${FILESDIR}/saslauthd.service 644 lib/systemd/system
vinstall ${FILESDIR}/saslauthd.service 644 \
usr/lib/systemd/system
vinstall ${FILESDIR}/saslauthd.tmpfiles.d 644 \
usr/lib/tmpfiles.d saslauthd.conf
}