summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-09-28 00:12:18 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-09-28 00:12:18 +0000
commit8fa733bff4bede145d331679924e235591e13a98 (patch)
treee42a3a950a7a3482ca382b7e4c92d6510b27d82d
parent9123001d87a69c4d5c0bb6aeac89cbcc153c7cda (diff)
perl: Add the perl IP address manipulation module Net::IP.
-rw-r--r--packages/perl/libnet-ip-perl-native_1.25.bb7
-rw-r--r--packages/perl/libnet-ip-perl_1.25.bb13
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/perl/libnet-ip-perl-native_1.25.bb b/packages/perl/libnet-ip-perl-native_1.25.bb
new file mode 100644
index 0000000000..58ed7e8edf
--- /dev/null
+++ b/packages/perl/libnet-ip-perl-native_1.25.bb
@@ -0,0 +1,7 @@
+SECTION = "libs"
+
+inherit native
+
+EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'"
+
+require libnet-ip-perl_${PV}.bb
diff --git a/packages/perl/libnet-ip-perl_1.25.bb b/packages/perl/libnet-ip-perl_1.25.bb
new file mode 100644
index 0000000000..1bce440731
--- /dev/null
+++ b/packages/perl/libnet-ip-perl_1.25.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Net::IP - Perl extension for manipulating IPv4/IPv6 addresses"
+SECTION = "libs"
+MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>"
+LICENSE = "Artistic"
+DEPENDS += "libio-zlib-perl-native"
+RDEPENDS += "libio-zlib-perl"
+PR = "r0"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz"
+
+S = "${WORKDIR}/Net-IP-${PV}"
+
+inherit cpan