summaryrefslogtreecommitdiff
blob: 0566cef219dcf0626a6d7ce292ba0c16bf8f3e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_require/pam_require-0.6.ebuild,v 1.2 2005/07/03 12:05:01 dholm Exp $

inherit eutils pam

DESCRIPTION="Allows you to require a special group or user to access a service."
HOMEPAGE="http://www.splitbrain.org/Programming/C/pam_require/"
SRC_URI="http://www.splitbrain.org/Programming/C/pam_require/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND=">=sys-libs/pam-0.72"

src_compile() {
	./configure --prefix=/ || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	dopammod ${S}/pam_require.so

	dodoc AUTHORS ChangeLog NEWS README
}