7fd6473a2b
The license file 'README' has changed due to the following diff: - $p3->parse($foo, ProtocolEncoding => 'ISO-8859-1'); - close($foo); + $p3->parse($fh, ProtocolEncoding => 'ISO-8859-1'); + close($fh); This does not affect the licensing terms. A 'LICENSE' file was added in 2.47, but it contains the terms of the wrong license (Artistic 2.0), while this package is under Artistic or GPL-1.0+. This has been reported upstream at https://github.com/cpan-authors/XML-Parser/pull/99. Signed-off-by: Kevin Cui <bh@bugs.cc> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# libxml-parser-perl
|
|
#
|
|
################################################################################
|
|
|
|
LIBXML_PARSER_PERL_VERSION = 2.47
|
|
LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz
|
|
LIBXML_PARSER_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR
|
|
HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat
|
|
LIBXML_PARSER_PERL_LICENSE = Artistic or GPL-1.0+
|
|
LIBXML_PARSER_PERL_LICENSE_FILES = README
|
|
LIBXML_PARSER_PERL_RUN_PERL = `which perl`
|
|
|
|
HOST_LIBXML_PARSER_PERL_CONFIGURE_OPTS = \
|
|
$(HOST_CONFIGURE_OPTS) \
|
|
LD="$(HOSTCC)"
|
|
|
|
define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
|
|
(cd $(@D) ; \
|
|
$(HOST_LIBXML_PARSER_PERL_CONFIGURE_OPTS) \
|
|
$(LIBXML_PARSER_PERL_RUN_PERL) Makefile.PL \
|
|
PREFIX=$(HOST_DIR) \
|
|
EXPATLIBPATH=$(HOST_DIR)/lib \
|
|
EXPATINCPATH=$(HOST_DIR)/include \
|
|
INSTALLDIRS=site \
|
|
INSTALLSITELIB=$(HOST_DIR)/lib/perl \
|
|
INSTALLSITEARCH=$(HOST_DIR)/lib/perl \
|
|
)
|
|
endef
|
|
|
|
define HOST_LIBXML_PARSER_PERL_BUILD_CMDS
|
|
$(HOST_MAKE_ENV) $(MAKE) $(HOST_LIBXML_PARSER_PERL_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define HOST_LIBXML_PARSER_PERL_INSTALL_CMDS
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|