1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 if [[ ${PV} == "9999" ]] ; then
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"
18 SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/m/${PN}/${MY_P}.orig.tar.gz"
21 DESCRIPTION="Monkeysphere public key validation daemon"
22 HOMEPAGE="http://web.monkeysphere.info/validation-agent/"
26 KEYWORDS="~amd64 ~x86"
29 #RESTRICT="test" # ssh connection failed
34 dev-perl/File-ShareDir
35 dev-perl/GnuPG-Interface
36 dev-perl/HTTP-Server-Simple
39 dev-perl/config-general
42 dev-perl/regexp-common
46 virtual/perl-Module-Build
50 epatch "${FILESDIR}/01_Makefile.patch"
51 sed -i "s/##VERSION##/${PV}/" Makefile
52 epatch "${FILESDIR}/02_Makefile.patch"
53 sed -i 's/##PERL##/${ED}usr\/local\/lib\/site_perl/' Makefile
57 mytargets="install doc=/usr/share/doc/${P}"
58 perl-module_src_install
59 mkdir -p "${D}/etc/profile.d/"
60 cp "${FILESDIR}/10-msva-perl.sh" "${D}/etc/profile.d/"
61 chmod 0555 "${D}/etc/profile.d/10-msva-perl.sh"
66 use 'X' && elog "You seem to be using X. msva-perl has been set up to invoke and set env variables in /etc/profile.d/10-msva-perl.sh. If using another window manager you might want to set this for your window manager."