d273bc4478d1f17d7d8e74724239e6430fb1012a
[portage-overlay.git] / app-crypt / monkeysphere / monkeysphere-0.36.ebuild
1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6 inherit user
7
8 DESCRIPTION="Leverage the OpenPGP web of trust for OpenSSH and Web authentication"
9 HOMEPAGE="http://web.monkeysphere.info/"
10
11 LICENSE="GPL-3"
12 SLOT="0"
13 IUSE=""
14 SRC_URI="http://archive.${PN}.info/debian/pool/${PN}/${PN::1}/${PN}/${PN}_${PV}.orig.tar.gz"
15 DEPEND=""
16 KEYWORDS="~x86 ~amd64"
17 DOCS=(README Changelog)
18 RDEPEND="app-crypt/gnupg
19         dev-perl/Crypt-OpenSSL-RSA
20         dev-perl/Digest-SHA1
21         app-misc/lockfile-progs"
22
23 pkg_setup()
24 {
25         ebegin "Creating named group and user"
26         enewgroup monkeysphere
27         enewuser monkeysphere -1 /bin/sh /var/lib/monkeysphere monkeysphere
28         chown root:root /var/lib/monkeysphere || die
29         chmod 751 /var/lib/monkeysphere || die
30         eend ${?}
31 }
32
33 src_prepare()
34 {
35         sed -i "s#share/doc/monkeysphere#share/doc/${PF}#" Makefile || die
36 }