Add msva-perl
authorkristianf <devnull@localhost>
Sat, 21 Sep 2013 21:09:00 +0000 (23:09 +0200)
committerkristianf <devnull@localhost>
Sat, 21 Sep 2013 21:09:00 +0000 (23:09 +0200)
app-crypt/msva-perl/msva-perl-0.9.2.ebuild [new file with mode: 0644]

diff --git a/app-crypt/msva-perl/msva-perl-0.9.2.ebuild b/app-crypt/msva-perl/msva-perl-0.9.2.ebuild
new file mode 100644 (file)
index 0000000..787128c
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit perl-module
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git-2
+       EGIT_BRANCH="master"
+       #EGIT_REPO_URI="git://git.monkeysphere.info/${PN}"
+       EGIT_REPO_URI="git://tremily.us/monkeysphere-validation-agent.git
+               http://http-git.tremily.us/monkeysphere-validation-agent.git"
+       SRC_URI=""
+else
+       MY_P="${PN}_{$PV}"
+       SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/m/${PN}/${MY_P}.orig.tar.gz"
+fi
+
+DESCRIPTION="Monkeysphere public key validation daemon"
+HOMEPAGE="http://web.monkeysphere.info/validation-agent/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+#RESTRICT="test" # ssh connection failed
+
+RDEPEND="
+       perl-gcpan/Crypt-X509
+       dev-perl/File-HomeDir
+       dev-perl/File-ShareDir
+       dev-perl/GnuPG-Interface
+       dev-perl/HTTP-Server-Simple
+       dev-perl/HTTP-Message
+       dev-perl/JSON
+       dev-perl/config-general
+       dev-perl/libwww-perl
+       dev-perl/net-server
+       dev-perl/regexp-common
+       "
+DEPEND="
+       virtual/perl-Module-Build
+       test? ( ${RDEPEND} )
+       "
+
+src_install() {
+       mytargets="install --install-path doc=/usr/share/doc/${P}"
+       perl-module_src_install
+}