2010-04-18 15:12:31 +02:00
|
|
|
# Template file for 'libldap'
|
|
|
|
pkgname=libldap
|
2012-03-28 15:06:12 +02:00
|
|
|
version=2.4.30
|
2010-04-18 15:12:31 +02:00
|
|
|
wrksrc="openldap-${version}"
|
2012-03-28 15:06:12 +02:00
|
|
|
homepage="http://www.openldap.org"
|
2010-04-18 15:12:31 +02:00
|
|
|
distfiles="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-$version.tgz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-03-28 15:06:12 +02:00
|
|
|
configure_args="--enable-dynamic --enable-proctitle --with-tls
|
|
|
|
--enable-ipv6 --enable-local --with-cyrus-sasl --with-threads
|
2010-04-18 15:12:31 +02:00
|
|
|
--enable-syslog --disable-slapd"
|
|
|
|
short_desc="OpenLDAP libraries"
|
2012-03-28 15:06:12 +02:00
|
|
|
license="OpenLDAP License v2.8 -- BSD alike"
|
2010-04-18 15:12:31 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-28 15:06:12 +02:00
|
|
|
checksum=fc013e528616f8578d9f221409c48af9b8937a62005e0bec88f6f1c4c8ff3d81
|
2010-04-18 15:12:31 +02: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 build pkg-config
|
|
|
|
Add_dependency build libsasl-devel
|
|
|
|
Add_dependency build openssl-devel
|
2011-07-03 01:31:15 +02:00
|
|
|
Add_dependency build groff
|
2010-04-18 15:12:31 +02:00
|
|
|
|
2012-03-28 15:06:12 +02:00
|
|
|
post_install() {
|
2010-04-18 15:12:31 +02:00
|
|
|
# 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
|
2012-03-28 15:06:12 +02:00
|
|
|
# License
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
2010-04-18 15:12:31 +02:00
|
|
|
}
|