From 3919627ceb320061e56254bce729051f3bee8bd8 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Thu, 21 May 2020 14:13:48 +0200 Subject: [PATCH] dev-perl/ip2as: New ebuild Package-Manager: Portage-2.3.99, Repoman-2.3.22 --- dev-perl/ip2as/ip2as-9999.ebuild | 37 ++++++++++++++++++++++++++++++++ dev-perl/ip2as/metadata.xml | 8 +++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-perl/ip2as/ip2as-9999.ebuild create mode 100644 dev-perl/ip2as/metadata.xml diff --git a/dev-perl/ip2as/ip2as-9999.ebuild b/dev-perl/ip2as/ip2as-9999.ebuild new file mode 100644 index 0000000..8950ac0 --- /dev/null +++ b/dev-perl/ip2as/ip2as-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit perl-module git-r3 + +DESCRIPTION="IP to ASN mapping" +EGIT_REPO_URI="https://github.com/JackSlateur/perl-ip2as.git" + +#LICENSE="|| ( Artistic GPL-1+ )" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND=" + dev-perl/JSON-XS + dev-perl/Net-Patricia +" +DEPEND="${RDEPEND}" + +DOCS=( README.md tools/{asinfo.txt,ip2asn.json} ) + +src_prepare() { + default + perl_set_version +} + +src_install() { + default + + insinto "${VENDOR_LIB}" + doins ip2as.pm + + insinto "/usr/libexec/${PN}" + doins tools/fetch_ip_asn.py +} diff --git a/dev-perl/ip2as/metadata.xml b/dev-perl/ip2as/metadata.xml new file mode 100644 index 0000000..a69b0a0 --- /dev/null +++ b/dev-perl/ip2as/metadata.xml @@ -0,0 +1,8 @@ + + + + + Alarig Le Lay + alarig@swordarmor.fr + +