# SliTaz package receipt.

PACKAGE="libsasl-without-ldap"
VERSION="2.1.23"
CATEGORY="system-tools"
SHORT_DESC="Cyrus Simple Authentication Service Layer (SASL) library."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="cyrus-sasl"
TARBALL="$SOURCE-$VERSION.tar.gz"
DEPENDS="db openssl"
BUILD_DEPENDS="db-dev openssl-dev"
WEB_SITE="http://cyrusimap.web.cmu.edu/"
WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	
	./configure --prefix=/usr --infodir=/usr/share/info \
		--without-pam --disable-anon \
		--disable-cram --disable-digest \
		--disable-gssapi --enable-login \
		--disable-otp --enable-plain \
		--mandir=/usr/share/man $CONFIGURE_ARGS &&
	make -j1 &&
	make -j1 DESTDIR=$PWD/_pkg install
}


# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/* $fs
}