summaryrefslogtreecommitdiff
path: root/recipes/perl/libnet-pcap-perl_0.16.bb
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-18 13:54:08 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-24 00:47:16 +0300
commit3157d6d6cb9f87d6086126b5e7b42c4dc87ebb81 (patch)
tree163865bf0c2a6879781d55678a13a2956927fcd6 /recipes/perl/libnet-pcap-perl_0.16.bb
parente1db194438b7badd98163418379f096c8ddb7eb5 (diff)
libnet-pcap-perl: add Net::Pcap Perl module
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/perl/libnet-pcap-perl_0.16.bb')
-rw-r--r--recipes/perl/libnet-pcap-perl_0.16.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/perl/libnet-pcap-perl_0.16.bb b/recipes/perl/libnet-pcap-perl_0.16.bb
new file mode 100644
index 0000000000..ed5ec978b7
--- /dev/null
+++ b/recipes/perl/libnet-pcap-perl_0.16.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Interface to pcap(3) LBL packet capture library"
+SECTION = "libs"
+LICENSE = "Artistic|GPL"
+DEPENDS = "libpcap"
+RDEPENDS_${PN} += " \
+ perl-module-socket \
+ perl-module-test-more \
+ perl-module-xsloader \
+ "
+
+PR = "r0"
+
+export STAGING_LIBDIR
+
+SRC_URI = " \
+ http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-Pcap-${PV}.tar.gz;name=net-pcap-perl-${PV} \
+ file://kill-runtime-pcap-check-fake-functions-check.patch;patch=1 \
+ "
+SRC_URI[net-pcap-perl-0.16.md5sum] = "b150d8e0a40137fad2a7df792d80cab4"
+SRC_URI[net-pcap-perl-0.16.sha256sum] = "9311d0d4043ea1f8b855dd1f2dc3312436064f4291c74127eb7c3f79b14677aa"
+
+S = "${WORKDIR}/Net-Pcap-${PV}"
+
+inherit cpan