nemunaire-overlay/dev-perl/OvhApi/OvhApi-1.1.ebuild
nemunaire 9227efc2a9 dev-perl/OvhApi: New package
Package-Manager: portage-2.2.26
2016-07-11 18:29:19 +02:00

35 lines
629 B
Bash

# 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
}