2013-04-09 11:42:41 +02:00
|
|
|
# Template file for 'libsasl'
|
|
|
|
pkgname=libsasl
|
|
|
|
version=2.1.25
|
2014-02-20 18:45:00 +01:00
|
|
|
revision=5
|
2013-04-09 11:42:41 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-22 11:02:02 +02:00
|
|
|
configure_args="--enable-cram --enable-digest --enable-auth-sasldb
|
|
|
|
--enable-plain --enable-anon --enable-login --enable-gssapi --enable-ntlm
|
|
|
|
--with-configdir=/etc/sasl2:/etc/sasl:/usr/lib/sasl2
|
|
|
|
--with-devrandom=/dev/urandom LDFLAGS=-ldb"
|
2013-05-09 16:26:34 +02:00
|
|
|
makedepends="openssl-devel db-devel>=5.3 mit-krb5-devel"
|
2013-04-09 11:42:41 +02:00
|
|
|
wrksrc="cyrus-sasl-${version}"
|
|
|
|
short_desc="Cyrus SASL - runtime shared libraries"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://cyrusimap.web.cmu.edu/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-$version.tar.gz"
|
|
|
|
checksum=418c16e6240a4f9b637cbe3d62937b9675627bad27c622191d47de8686fe24fe
|
|
|
|
|
|
|
|
disable_parallel_build=yes
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# We are only interested in libsasl.
|
|
|
|
rm -rf ${DESTDIR}/usr/{sbin,share,lib/sasl2}
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libsasl-devel_package() {
|
2013-05-09 16:26:34 +02:00
|
|
|
depends="db-devel>=5.3 libsasl>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-02-20 18:45:00 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|