Torsten Kurbad
791274e993
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@5339 cbe59ace-07ea-0310-918e-868702b5370d
40 lines
874 B
Bash
40 lines
874 B
Bash
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam_mount/pam_mount-0.18.ebuild,v 1.2 2007/05/09 04:37:59 hanno Exp $
|
|
|
|
inherit eutils
|
|
|
|
MY_PN="libpam-script"
|
|
MY_PV="0.1.11"
|
|
|
|
DESCRIPTION="A PAM module that can execute arbitrary scripts upon authentication"
|
|
HOMEPAGE="http://freshmeat.net/projects/pam_script/"
|
|
SRC_URI="http://freshmeat.net/redir/pam_script/22413/url_tgz/${MY_PN}_${MY_PV}.tar.gz"
|
|
|
|
RESTRICT="nomirror"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~x86"
|
|
|
|
IUSE=""
|
|
DEPEND=">=sys-libs/pam-0.72"
|
|
RDEPEND="$DEPEND"
|
|
|
|
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
|
|
|
src_unpack() {
|
|
unpack "${A}"
|
|
cd "${S}"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die "make install failed"
|
|
|
|
doman pam_script.5 || die
|
|
|
|
dodoc CREDITS README || die
|
|
docinto examples
|
|
dodoc examples/* || die
|
|
}
|