2010-04-18 13:12:31 +00:00
|
|
|
# Template file for 'libldap'
|
|
|
|
pkgname=libldap
|
2011-02-14 15:59:37 +00:00
|
|
|
version=2.4.24
|
2010-04-18 13:12:31 +00:00
|
|
|
wrksrc="openldap-${version}"
|
|
|
|
distfiles="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-$version.tgz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-16 17:46:38 +00:00
|
|
|
configure_args="--enable-dynamic --enable-proctitle
|
2010-04-18 13:12:31 +00:00
|
|
|
--enable-ipv6 --enable-local --with-cyrus-sasl --with-threads --with-tls
|
|
|
|
--enable-syslog --disable-slapd"
|
|
|
|
short_desc="OpenLDAP libraries"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-02-14 15:59:37 +00:00
|
|
|
checksum=fdcecb64082a0d8e124f13b31fccf4765901e29decaf4224b28d4cff90a14614
|
2010-04-18 13:12:31 +00:00
|
|
|
long_desc="
|
|
|
|
These are the run-time libraries for the OpenLDAP (Lightweight Directory
|
|
|
|
Access Protocol) servers and clients."
|
|
|
|
|
|
|
|
conf_files="/etc/openldap/ldap.conf"
|
|
|
|
subpackages="libldap-devel"
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libsasl
|
2010-11-02 07:31:35 +00:00
|
|
|
Add_dependency run libssl
|
2010-04-18 13:12:31 +00:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build libsasl-devel
|
|
|
|
Add_dependency build openssl-devel
|
2011-07-02 23:31:15 +00:00
|
|
|
Add_dependency build groff
|
2010-04-18 13:12:31 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove unused stuff.
|
|
|
|
rm -rf ${DESTDIR}/usr/bin
|
|
|
|
rm -rf ${DESTDIR}/usr/share/man/man[18]
|
|
|
|
rm -f ${DESTDIR}/etc/openldap/*.default
|
|
|
|
mv ${DESTDIR}/usr/share/man/man5/ldap.conf.5 ${DESTDIR}/usr/share/man
|
|
|
|
rm -f ${DESTDIR}/usr/share/man/man5/*
|
|
|
|
mv ${DESTDIR}/usr/share/man/ldap.conf.5 ${DESTDIR}/usr/share/man/man5
|
|
|
|
}
|