2014-10-11 08:36:42 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libxml-parser-perl
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-02 08:56:59 +01:00
|
|
|
LIBXML_PARSER_PERL_VERSION = 2.44
|
2014-10-11 08:36:42 +02:00
|
|
|
LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz
|
|
|
|
LIBXML_PARSER_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR
|
2016-07-03 00:20:56 +02:00
|
|
|
HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat
|
2017-03-30 15:43:31 +02:00
|
|
|
LIBXML_PARSER_PERL_LICENSE = Artistic or GPL-1.0+
|
2017-07-12 04:46:51 +02:00
|
|
|
LIBXML_PARSER_PERL_LICENSE_FILES = README
|
2014-10-11 08:36:42 +02:00
|
|
|
LIBXML_PARSER_PERL_RUN_PERL = `which perl`
|
|
|
|
|
|
|
|
define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
|
2014-10-23 10:43:37 +02:00
|
|
|
(cd $(@D) ; \
|
|
|
|
$(HOST_CONFIGURE_OPTS) $(LIBXML_PARSER_PERL_RUN_PERL) Makefile.PL \
|
2017-07-05 13:14:18 +02:00
|
|
|
PREFIX=$(HOST_DIR) \
|
2017-07-05 13:14:21 +02:00
|
|
|
EXPATLIBPATH=$(HOST_DIR)/lib \
|
2017-07-05 13:14:22 +02:00
|
|
|
EXPATINCPATH=$(HOST_DIR)/include \
|
2014-10-23 10:43:37 +02:00
|
|
|
INSTALLDIRS=site \
|
2017-07-05 13:14:21 +02:00
|
|
|
INSTALLSITELIB=$(HOST_DIR)/lib/perl \
|
|
|
|
INSTALLSITEARCH=$(HOST_DIR)/lib/perl \
|
2014-10-23 10:43:37 +02:00
|
|
|
)
|
2014-10-11 08:36:42 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_LIBXML_PARSER_PERL_BUILD_CMDS
|
2014-10-23 10:43:37 +02:00
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
2014-10-11 08:36:42 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_LIBXML_PARSER_PERL_INSTALL_CMDS
|
2014-10-23 10:43:37 +02:00
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
2014-10-11 08:36:42 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-generic-package))
|