# SliTaz package receipt.

PACKAGE="pam_krb5"
VERSION="4.3"
CATEGORY="system-tools"
SHORT_DESC="Kerberos v5 PAM module."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="pam-krb5"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.eyrie.org/~eagle/software/pam-krb5/"
WGET_URL="http://archives.eyrie.org/software/kerberos/$TARBALL"
BUILD_DEPENDS="pam-dev krb5-dev"
DEPENDS="pam libkrb5 libcomerr libcomerr3"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr --infodir=/usr/share/info \
	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

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