perl: Add the perl IP address manipulation module Net::IP.
authorJamie Lenehan <lenehan@twibble.org>
Thu, 28 Sep 2006 00:12:18 +0000 (00:12 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Thu, 28 Sep 2006 00:12:18 +0000 (00:12 +0000)
packages/perl/libnet-ip-perl-native_1.25.bb [new file with mode: 0644]
packages/perl/libnet-ip-perl_1.25.bb [new file with mode: 0644]

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 (file)
index 0000000..58ed7e8
--- /dev/null
@@ -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 (file)
index 0000000..1bce440
--- /dev/null
@@ -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