# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="This is yet another pam_unix2 module." HOMEPAGE="http://www.thkukuk.de/pam/pam_unix2/" SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/pam/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="libxcrypt" DEPEND="sys-libs/pam" if use libxcrypt; then DEPEND="sys-libs/libxcrypt $DEPEND" fi; src_unpack() { unpack ${A} cd "${S}" } src_compile() { econf || die "configure failed" emake || die "make failed" } src_install() { make install DESTDIR="${D}" || die "install failed" }