package/perl-netaddr-ip: New package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2015-04-19 12:16:58 +02:00 committed by Thomas Petazzoni
parent d12a441585
commit 7263ad4b72
4 changed files with 30 additions and 0 deletions

View File

@ -514,6 +514,7 @@ menu "Perl libraries/modules"
source "package/perl-json-tiny/Config.in"
source "package/perl-mojolicious/Config.in"
source "package/perl-net-ssleay/Config.in"
source "package/perl-netaddr-ip/Config.in"
source "package/perl-path-tiny/Config.in"
source "package/perl-try-tiny/Config.in"
source "package/perl-xml-libxml/Config.in"

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_PERL_NETADDR_IP
bool "perl-netaddr-ip"
depends on !BR2_STATIC_LIBS
help
NetAddr::IP - Manages IPv4 and IPv6 addresses and subnets
https://metacpan.org/release/NetAddr-IP
comment "perl-netaddr-ip needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@ -0,0 +1,3 @@
# retrieved by scancpan from http://cpan.metacpan.org/
md5 b72b91ebd228b096fd3b0acc87df877e NetAddr-IP-4.075.tar.gz
sha256 ab8275bb8f306f780cd029a6dc48764461f4d1ef3a106b99fe5a90cbf2968839 NetAddr-IP-4.075.tar.gz

View File

@ -0,0 +1,16 @@
################################################################################
#
# perl-netaddr-ip
#
################################################################################
PERL_NETADDR_IP_VERSION = 4.075
PERL_NETADDR_IP_SOURCE = NetAddr-IP-$(PERL_NETADDR_IP_VERSION).tar.gz
PERL_NETADDR_IP_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MI/MIKER
PERL_NETADDR_IP_DEPENDENCIES = perl
PERL_NETADDR_IP_LICENSE = Artistic or GPLv1+
PERL_NETADDR_IP_LICENSE_FILES = Artistic Copying
PERL_NETADDR_IP_CONF_OPTS = -noxs
$(eval $(perl-package))