mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

* Upgrade geoip-perl from 1.45 to 1.50 * Update LIC_FILES_CHKSUM to check LICENSE file instead of the previous README as no README file in 1.50 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
41 lines
1.2 KiB
BlitzBasic
41 lines
1.2 KiB
BlitzBasic
#
|
|
# 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"
|
|
|
|
# Note that we do not want to use the upstream file name locally.
|
|
#
|
|
SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downloadfilename=${BPN}-${PV}.tar.gz \
|
|
file://run-ptest \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
|
|
SRC_URI[sha256sum] = "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
|
|
|
|
S = "${WORKDIR}/geoip-api-perl-${PV}"
|
|
|
|
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"
|
|
|