diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-23 21:27:28 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-23 21:27:28 +0100 |
commit | 4f05a61b33e5d87f23837109fb0dd538a5bd5d62 (patch) | |
tree | f1b375060271ec5fd5da6fe89955b11b7c238fae /package/libxml-parser-perl/libxml-parser-perl.mk | |
parent | 52fcd86f2ba1249e74ed04ef39cb3cbea16024c7 (diff) | |
parent | f08e9eea1b70f057cc0a3efa18b2acb4faea4abe (diff) | |
download | buildroot-novena-4f05a61b33e5d87f23837109fb0dd538a5bd5d62.tar.gz buildroot-novena-4f05a61b33e5d87f23837109fb0dd538a5bd5d62.zip |
Merge branch 'misc-fixes5' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/libxml-parser-perl/libxml-parser-perl.mk')
-rw-r--r-- | package/libxml-parser-perl/libxml-parser-perl.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/libxml-parser-perl/libxml-parser-perl.mk b/package/libxml-parser-perl/libxml-parser-perl.mk new file mode 100644 index 000000000..52d89d581 --- /dev/null +++ b/package/libxml-parser-perl/libxml-parser-perl.mk @@ -0,0 +1,34 @@ +############################################################# +# +# libxml-parser-perl +# +############################################################# +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/ + +LIBXML_PARSER_PERL_DEPENDENCIES = expat +HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat + +define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS + (cd $(@D) ; \ + 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 \ + ) +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 + +$(eval $(call GENTARGETS,package,libxml-parser-perl)) +$(eval $(call GENTARGETS,package,libxml-parser-perl,host)) + |