diff options
Diffstat (limited to 'meta-openembedded/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb')
-rw-r--r-- | meta-openembedded/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-openembedded/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb b/meta-openembedded/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb new file mode 100644 index 0000000000..95147bdad2 --- /dev/null +++ b/meta-openembedded/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb @@ -0,0 +1,35 @@ +# +# Copyright (C) 2014, 2015 Wind River Systems, Inc. +# Released under the MIT license (see COPYING.MIT for the terms) +# +SUMMARY = "GeoIP perl API library to access location database" +DESCRIPTION = "perl library for country/city/organization to IP address or hostname mapping" +HOMEPAGE = "http://www.maxmind.com/app/ip-location" +SECTION = "libdevel" +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b7a36f55e8ba62aadd74e4f0886a405e" + +S = "${WORKDIR}/git" +SRCREV = "47f7d49bd15cfc2e5f8c0f5c4068dc8bb0e10e96" +SRC_URI = "git://github.com/maxmind/geoip-api-perl.git;protocol=https; \ + file://run-ptest \ +" + +DEPENDS += "geoip" + +inherit cpan ptest + +EXTRA_CPANFLAGS = "LIBS='-L${STAGING_LIBDIR}' INC='-I${STAGING_INCDIR}'" + + +# perl scripts and some special small data files +# +do_install_ptest () { + install -d -m 0755 ${D}${PTEST_PATH}/t/data + + install ${S}/t/*.t* ${D}${PTEST_PATH}/t + install ${S}/t/data/* ${D}${PTEST_PATH}/t/data +} + +FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Geo/IP/.debug" + |