Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2014, 2015 Wind River Systems, Inc. |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | # |
| 5 | SUMMARY = "GeoIP perl API library to access location database" |
| 6 | DESCRIPTION = "perl library for country/city/organization to IP address or hostname mapping" |
| 7 | HOMEPAGE = "http://www.maxmind.com/app/ip-location" |
| 8 | SECTION = "libdevel" |
| 9 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e4f3ea6e9b28af88dc0321190a1f8250" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | SRCREV = "4cdfdc38eca237c19c22a8b90490446ce6d970fa" |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 14 | SRC_URI = "git://github.com/maxmind/geoip-api-perl.git;branch=main \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | file://run-ptest \ |
| 16 | " |
| 17 | |
| 18 | DEPENDS += "geoip" |
| 19 | |
| 20 | inherit cpan ptest |
| 21 | |
| 22 | EXTRA_CPANFLAGS = "LIBS='-L${STAGING_LIBDIR}' INC='-I${STAGING_INCDIR}'" |
| 23 | |
| 24 | |
| 25 | # perl scripts and some special small data files |
| 26 | # |
| 27 | do_install_ptest () { |
| 28 | install -d -m 0755 ${D}${PTEST_PATH}/t/data |
| 29 | |
| 30 | install ${S}/t/*.t* ${D}${PTEST_PATH}/t |
| 31 | install ${S}/t/data/* ${D}${PTEST_PATH}/t/data |
| 32 | } |
| 33 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Geo/IP/.debug" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 35 | |