dev-perl/OvhApi: New package

Package-Manager: portage-2.2.26
This commit is contained in:
nemunaire 2016-04-14 23:35:52 +02:00
commit 9227efc2a9
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,34 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit perl-functions
MY_P="${PN}-perl-${PV}"
DESCRIPTION="OVH Perl wrapper upon the OVH RESTful API."
HOMEPAGE="https://api.ovh.com/"
SRC_URI="https://eu.api.ovh.com/wrappers/${MY_P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
RDEPEND="dev-perl/libwww-perl[ssl]
dev-perl/JSON
dev-perl/Digest-SHA1"
DEPEND="${RDEPEND}"
src_install() {
perl_set_version
insinto "${VENDOR_LIB}"
doins OvhApi.pm
insinto "${VENDOR_LIB}/OvhApi"
doins OvhApi/Answer.pm
}