mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
18
package/perl-xml-libxml/0001-Makefile-PL.patch
Normal file
18
package/perl-xml-libxml/0001-Makefile-PL.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
fake check_lib for cross-compilation
|
||||
|
||||
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
||||
|
||||
Index: b/Makefile.PL
|
||||
===================================================================
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -88,8 +88,7 @@
|
||||
# -------------------------------------------------------------------------- #
|
||||
# -------------------------------------------------------------------------- #
|
||||
|
||||
-use lib qw(inc);
|
||||
-use Devel::CheckLib;
|
||||
+sub check_lib { return 1; }
|
||||
|
||||
# Prompt the user here for any paths and other configuration
|
||||
|
||||
15
package/perl-xml-libxml/Config.in
Normal file
15
package/perl-xml-libxml/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_PERL_XML_LIBXML
|
||||
bool "perl-xml-libxml"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_PERL_XML_NAMESPACESUPPORT # runtime
|
||||
select BR2_PACKAGE_PERL_XML_SAX # runtime
|
||||
select BR2_PACKAGE_PERL_XML_SAX_BASE # runtime
|
||||
help
|
||||
Interface to Gnome libxml2 xml parsing and DOM library.
|
||||
|
||||
https://github.com/shlomif/perl-XML-LibXML
|
||||
|
||||
comment "perl-xml-libxml needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
6
package/perl-xml-libxml/perl-xml-libxml.hash
Normal file
6
package/perl-xml-libxml/perl-xml-libxml.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# retrieved by scancpan from http://cpan.metacpan.org/
|
||||
md5 dce687dd8b7e82d1c359fd74b1852f64 XML-LibXML-2.0134.tar.gz
|
||||
sha256 f0bca4d0c2da35d879fee4cd13f352014186cedab27ab5e191f39b5d7d4f46cf XML-LibXML-2.0134.tar.gz
|
||||
|
||||
# computed by scancpan
|
||||
sha256 5046a7ec515cc1542beafdf2eadeeff24cc221fc3fde9913dd144fd263ae6100 LICENSE
|
||||
20
package/perl-xml-libxml/perl-xml-libxml.mk
Normal file
20
package/perl-xml-libxml/perl-xml-libxml.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# perl-xml-libxml
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PERL_XML_LIBXML_VERSION = 2.0134
|
||||
PERL_XML_LIBXML_SOURCE = XML-LibXML-$(PERL_XML_LIBXML_VERSION).tar.gz
|
||||
PERL_XML_LIBXML_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SH/SHLOMIF
|
||||
PERL_XML_LIBXML_DEPENDENCIES = zlib libxml2
|
||||
PERL_XML_LIBXML_LICENSE = Artistic or GPL-1.0+
|
||||
PERL_XML_LIBXML_LICENSE_FILES = LICENSE
|
||||
PERL_XML_LIBXML_DISTNAME = XML-LibXML
|
||||
|
||||
PERL_XML_LIBXML_CONF_OPTS = \
|
||||
LIBS="-L $(STAGING_DIR)/usr/lib" \
|
||||
INC="-I $(STAGING_DIR)/usr/include/libxml2" \
|
||||
NO_THREADS
|
||||
|
||||
$(eval $(perl-package))
|
||||
Reference in New Issue
Block a user