Add buildroot 2018-02
This commit is contained in:
18
buildroot/package/perl-xml-libxml/0001-Makefile-PL.patch
Normal file
18
buildroot/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
buildroot/package/perl-xml-libxml/Config.in
Normal file
15
buildroot/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
|
||||
select BR2_PACKAGE_PERL_XML_SAX
|
||||
select BR2_PACKAGE_PERL_XML_SAX_BASE
|
||||
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
|
||||
3
buildroot/package/perl-xml-libxml/perl-xml-libxml.hash
Normal file
3
buildroot/package/perl-xml-libxml/perl-xml-libxml.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# retrieved by scancpan from http://cpan.metacpan.org/
|
||||
md5 43546fd9a3974f19323f9fb04861ece9 XML-LibXML-2.0132.tar.gz
|
||||
sha256 721452e3103ca188f5968ab06d5ba29fe8e00e49f4767790882095050312d476 XML-LibXML-2.0132.tar.gz
|
||||
19
buildroot/package/perl-xml-libxml/perl-xml-libxml.mk
Normal file
19
buildroot/package/perl-xml-libxml/perl-xml-libxml.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# perl-xml-libxml
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PERL_XML_LIBXML_VERSION = 2.0132
|
||||
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-namespacesupport perl-xml-sax perl-xml-sax-base
|
||||
PERL_XML_LIBXML_LICENSE = Artistic or GPL-1.0+
|
||||
PERL_XML_LIBXML_LICENSE_FILES = LICENSE
|
||||
|
||||
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