2014-10-11 08:36:42 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libxml-parser-perl
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBXML_PARSER_PERL_VERSION = 2.41
|
|
|
|
LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz
|
|
|
|
LIBXML_PARSER_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR
|
|
|
|
LIBXML_PARSER_PERL_DEPENDENCIES = expat
|
|
|
|
LIBXML_PARSER_PERL_LICENSE = Artistic or GPLv1+
|
|
|
|
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 \
|
|
|
|
PREFIX=$(HOST_DIR)/usr \
|
|
|
|
EXPATLIBPATH=$(HOST_DIR)/usr/lib \
|
|
|
|
EXPATINCPATH=$(HOST_DIR)/usr/include \
|
|
|
|
INSTALLDIRS=site \
|
|
|
|
INSTALLSITELIB=$(HOST_DIR)/usr/lib/perl \
|
|
|
|
INSTALLSITEARCH=$(HOST_DIR)/usr/lib/perl \
|
|
|
|
)
|
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))
|