Add msva-perl
[portage-overlay.git] / app-crypt / msva-perl / msva-perl-0.9.2.ebuild
1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="4"
6
7 inherit perl-module
8
9 if [[ ${PV} == "9999" ]] ; then
10         inherit git-2
11         EGIT_BRANCH="master"
12         #EGIT_REPO_URI="git://git.monkeysphere.info/${PN}"
13         EGIT_REPO_URI="git://tremily.us/monkeysphere-validation-agent.git
14                 http://http-git.tremily.us/monkeysphere-validation-agent.git"
15         SRC_URI=""
16 else
17         MY_P="${PN}_{$PV}"
18         SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/m/${PN}/${MY_P}.orig.tar.gz"
19 fi
20
21 DESCRIPTION="Monkeysphere public key validation daemon"
22 HOMEPAGE="http://web.monkeysphere.info/validation-agent/"
23
24 LICENSE="GPL-3"
25 SLOT="0"
26 KEYWORDS="~amd64 ~x86"
27 IUSE="test"
28
29 #RESTRICT="test" # ssh connection failed
30
31 RDEPEND="
32         perl-gcpan/Crypt-X509
33         dev-perl/File-HomeDir
34         dev-perl/File-ShareDir
35         dev-perl/GnuPG-Interface
36         dev-perl/HTTP-Server-Simple
37         dev-perl/HTTP-Message
38         dev-perl/JSON
39         dev-perl/config-general
40         dev-perl/libwww-perl
41         dev-perl/net-server
42         dev-perl/regexp-common
43         "
44 DEPEND="
45         virtual/perl-Module-Build
46         test? ( ${RDEPEND} )
47         "
48
49 src_install() {
50         mytargets="install --install-path doc=/usr/share/doc/${P}"
51         perl-module_src_install
52 }