# SliTaz package receipt.

PACKAGE="pam_ssh"
VERSION="1.97"
CATEGORY="system-tools"
SHORT_DESC="PAM Module that provides single sign-on behavior with ssh-agent."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://pam-ssh.sourceforge.net/"
WGET_URL="$SF_MIRROR/pam-ssh/$TARBALL"
DEPENDS="pam libcrypto openssh-pam"
BUILD_DEPENDS="pam-dev file openssl-dev openssh-pam "

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

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