app-crypt/msva-perl: Fix path on debian mirror
[portage-overlay.git] / app-crypt / msva-perl / msva-perl-0.9.2.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
7 inherit perl-module
8
9 SRC_URI="mirror://debian/pool/main/m/msva-perl/msva-perl_${PV}.orig.tar.gz"
10
11 DESCRIPTION="Monkeysphere public key validation daemon"
12 HOMEPAGE="http://web.monkeysphere.info/validation-agent/"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 IUSE=""
17 KEYWORDS="~amd64 ~x86"
18
19 DEPEND="virtual/perl-Module-Build:0="
20
21 RDEPEND="
22         dev-perl/Crypt-X509:0=
23         dev-perl/File-HomeDir:0=
24         dev-perl/File-ShareDir:0=
25         dev-perl/GnuPG-Interface:0=
26         dev-perl/HTTP-Server-Simple:0=
27         dev-perl/HTTP-Message:0=
28         dev-perl/JSON:0=
29         dev-perl/config-general:0=
30         dev-perl/libwww-perl:0=
31         dev-perl/net-server:0=
32         dev-perl/regexp-common:0=
33         ${DEPEND}"
34
35 src_prepare()
36 {
37         sed -i -e "s|^VERSION :=.*|VERSION=${PV}|" \
38                -e "s|^DEBIAN_VERSION=.*|DEBIAN_VERSION=${PV}|" Makefile || die
39 }
40
41 src_install()
42 {
43         insinto ${SITE_LIB}/Crypt/Monkeysphere
44         insopts -m444
45         doins Crypt/Monkeysphere/*.pm
46
47         insinto ${SITE_LIB}/Crypt/Monkeysphere/MSVA
48         doins Crypt/Monkeysphere/MSVA/*.pm
49
50         insinto ${SITE_LIB}/Net/Server
51         doins Net/Server/MSVA.pm
52
53         dobin msva-perl
54         doman msva-perl.1
55         dobin msva-query-agent
56         doman msva-query-agent.1
57
58         insinto "/etc/profile.d"
59         insopts -m755
60         doins "${FILESDIR}/10-msva-perl.sh"
61 }