libip-country-perl: add IP::Country Perl module
authorRoman I Khimov <khimov@altell.ru>
Wed, 17 Mar 2010 13:59:22 +0000 (16:59 +0300)
committerRoman I Khimov <khimov@altell.ru>
Tue, 23 Mar 2010 21:46:26 +0000 (00:46 +0300)
Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/perl/libip-country-perl_2.27.bb [new file with mode: 0644]

diff --git a/recipes/perl/libip-country-perl_2.27.bb b/recipes/perl/libip-country-perl_2.27.bb
new file mode 100644 (file)
index 0000000..81f50ec
--- /dev/null
@@ -0,0 +1,16 @@
+DESCRIPTION = "IP::Country - fast lookup of country codes from IP addresses"
+SECTION = "libs"
+LICENSE = "Artistic|GPL"
+RDEPENDS_${PN} += "perl-module-extutils-makemaker"
+BBCLASSEXTEND = "native"
+PR = "r0"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/IP-Country-${PV}.tar.gz;name=ip-country-perl-${PV}"
+SRC_URI[ip-country-perl-2.27.md5sum] = "32932280ee4729145e85e08dad5ab8c6"
+SRC_URI[ip-country-perl-2.27.sha256sum] = "39ed6d3890d655159e950f785f5e124b580ebaa0ab531bc4cf182184801192e1"
+
+S = "${WORKDIR}/IP-Country-${PV}"
+
+inherit cpan
+
+PACKAGE_ARCH = "all"