configs/bananapro: bump Linux to 4.10.4
[buildroot-gz.git] / package / libxml-parser-perl / libxml-parser-perl.mk
blobe512815e3fea76b9c2d8d88e12bddab96fe7d898
1 ################################################################################
3 # libxml-parser-perl
5 ################################################################################
7 LIBXML_PARSER_PERL_VERSION = 2.44
8 LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz
9 LIBXML_PARSER_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR
10 HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat
11 LIBXML_PARSER_PERL_LICENSE = Artistic or GPLv1+
12 LIBXML_PARSER_PERL_RUN_PERL = `which perl`
14 define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
15 (cd $(@D) ; \
16 $(HOST_CONFIGURE_OPTS) $(LIBXML_PARSER_PERL_RUN_PERL) Makefile.PL \
17 PREFIX=$(HOST_DIR)/usr \
18 EXPATLIBPATH=$(HOST_DIR)/usr/lib \
19 EXPATINCPATH=$(HOST_DIR)/usr/include \
20 INSTALLDIRS=site \
21 INSTALLSITELIB=$(HOST_DIR)/usr/lib/perl \
22 INSTALLSITEARCH=$(HOST_DIR)/usr/lib/perl \
24 endef
26 define HOST_LIBXML_PARSER_PERL_BUILD_CMDS
27 $(HOST_MAKE_ENV) $(MAKE) -C $(@D)
28 endef
30 define HOST_LIBXML_PARSER_PERL_INSTALL_CMDS
31 $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
32 endef
34 $(eval $(host-generic-package))