Clean up ebuilds
[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 base
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 KEYWORDS="~x86 ~amd64"
14 IUSE=""
15
16 SRC_URI="http://archive.${PN}.info/debian/pool/${PN}/${PN::1}/${PN}/${PN}_${PV}.orig.tar.gz"
17
18 DEPEND=""
19 RDEPEND="${DEPEND}
20 app-crypt/gnupg
21 dev-perl/Crypt-OpenSSL-RSA
22 dev-perl/Digest-SHA1
23 app-misc/lockfile-progs"
24
25 src_prepare()
26 {
27         sed -i "s#share/doc/monkeysphere#share/doc/${PF}#" Makefile
28 }
29
30 pkg_setup()
31 {
32         ebegin "Creating named group and user"
33         enewgroup monkeysphere
34         enewuser monkeysphere -1 /bin/sh /var/lib/monkeysphere monkeysphere
35         chown root:root /var/lib/monkeysphere
36         chmod 751 /var/lib/monkeysphere
37         eend ${?}
38 }
39
40 DOCS=(README Changelog COPYING)