summaryrefslogtreecommitdiff
blob: 17399ef22437d7f6883fd03449b323ac82d0ac6c (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$

DESCRIPTION="console based password management application"
HOMEPAGE="http://cpbotha.net/pam_pwdfile"
SRC_URI="http://cpbotha.net/files/mirror/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND="virtual/libc"

src_compile() {
	emake || die "emake failed"
}

src_install() {
	dobin chpwdfile
	doman chpwdfile.1
	for i in pw{add,mod,del}; do
		dosym chpwdfile /usr/bin/${i}
		echo '.so chpwdfile.1' > ${i}.1
		doman ${i}.1
	done
	dodoc README
}