2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-02-21 13:15:22 +01:00
|
|
|
#
|
|
|
|
# libxml-parser-perl
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-20 10:45:47 +01:00
|
|
|
|
|
|
|
LIBXML_PARSER_PERL_VERSION = 2.36
|
|
|
|
LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz
|
|
|
|
LIBXML_PARSER_PERL_SITE = http://www.cpan.org/modules/by-module/XML/
|
2010-02-21 13:15:22 +01:00
|
|
|
|
|
|
|
LIBXML_PARSER_PERL_DEPENDENCIES = expat
|
|
|
|
|
|
|
|
define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
|
|
|
|
(cd $(@D) ; \
|
2012-03-27 17:11:36 +02:00
|
|
|
$(HOST_CONFIGURE_OPTS) perl Makefile.PL \
|
2010-02-21 13:15:22 +01:00
|
|
|
PREFIX=$(HOST_DIR)/usr \
|
|
|
|
EXPATLIBPATH=$(HOST_DIR)/usr/lib \
|
|
|
|
EXPATINCPATH=$(HOST_DIR)/usr/include \
|
|
|
|
INSTALLDIRS=site \
|
|
|
|
INSTALLSITELIB=$(HOST_DIR)/usr/lib/perl \
|
2011-08-12 21:14:28 +02:00
|
|
|
INSTALLSITEARCH=$(HOST_DIR)/usr/lib/perl \
|
2012-03-30 10:04:52 +02:00
|
|
|
USE_MM_LD_RUN_PATH=1 \
|
2010-02-21 13:15:22 +01:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_LIBXML_PARSER_PERL_BUILD_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_LIBXML_PARSER_PERL_INSTALL_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-generic-package))
|