Initial Commit
- initial default booting image
This commit is contained in:
43
package/neon/Config.in
Normal file
43
package/neon/Config.in
Normal file
@@ -0,0 +1,43 @@
|
||||
config BR2_PACKAGE_NEON
|
||||
bool "libneon"
|
||||
help
|
||||
HTTP and WebDAV client library, with a C interface.
|
||||
|
||||
https://notroj.github.io/neon/
|
||||
|
||||
if BR2_PACKAGE_NEON
|
||||
|
||||
config BR2_PACKAGE_NEON_ZLIB
|
||||
bool "ZLIB support"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
build with ZLIB support
|
||||
|
||||
config BR2_PACKAGE_NEON_SSL
|
||||
bool "SSL support"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
build with SSL support
|
||||
|
||||
# This is an hidden symbol other packages can select to ensure that
|
||||
# Neon has XML support, either provided by Expat or libxml2.
|
||||
config BR2_PACKAGE_NEON_XML
|
||||
bool
|
||||
select BR2_PACKAGE_NEON_EXPAT if !BR2_PACKAGE_NEON_LIBXML2
|
||||
|
||||
config BR2_PACKAGE_NEON_EXPAT
|
||||
bool "XML support with expat"
|
||||
depends on !BR2_PACKAGE_NEON_LIBXML2
|
||||
select BR2_PACKAGE_EXPAT
|
||||
help
|
||||
Enable XML support in neon, using the Expat XML library.
|
||||
|
||||
config BR2_PACKAGE_NEON_LIBXML2
|
||||
bool "XML support with libxml2"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
Enable XML support in neon, using the libxml2 XML library.
|
||||
|
||||
endif
|
||||
6
package/neon/neon.hash
Normal file
6
package/neon/neon.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally computed
|
||||
sha256 a99b7262525a454d1065cf76dd17240fd808dfc4ef15636990ff83a5d0d9e740 neon-0.37.1.tar.gz
|
||||
# Hash for license files
|
||||
sha256 a982d694ca4b8c3ae8b05bf07c701e7e8c7013a416356caa0746354d2d86c7e1 README.md
|
||||
sha256 d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f src/COPYING.LIB
|
||||
sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad test/COPYING
|
||||
52
package/neon/neon.mk
Normal file
52
package/neon/neon.mk
Normal file
@@ -0,0 +1,52 @@
|
||||
################################################################################
|
||||
#
|
||||
# neon
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NEON_VERSION = 0.37.1
|
||||
NEON_SITE = https://notroj.github.io/neon
|
||||
NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests)
|
||||
NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README.md
|
||||
NEON_CPE_ID_VENDOR = webdav
|
||||
NEON_INSTALL_STAGING = YES
|
||||
NEON_CONF_OPTS = --without-gssapi
|
||||
NEON_CONFIG_SCRIPTS = neon-config
|
||||
NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
||||
NEON_CONF_ENV = ne_cv_libsfor_bindtextdomain=$(TARGET_NLS_LIBS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
|
||||
NEON_CONF_OPTS += --with-zlib
|
||||
NEON_DEPENDENCIES += zlib
|
||||
else
|
||||
NEON_CONF_OPTS += --without-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NEON_SSL),y)
|
||||
NEON_CONF_OPTS += --with-ssl
|
||||
NEON_DEPENDENCIES += openssl
|
||||
else
|
||||
NEON_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NEON_EXPAT),y)
|
||||
NEON_CONF_OPTS += --with-expat=yes
|
||||
NEON_DEPENDENCIES += expat
|
||||
else
|
||||
NEON_CONF_OPTS += --with-expat=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y)
|
||||
NEON_CONF_OPTS += --with-libxml2=yes
|
||||
NEON_CONF_ENV += ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
|
||||
NEON_DEPENDENCIES += libxml2
|
||||
else
|
||||
NEON_CONF_OPTS += --with-libxml2=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),)
|
||||
# webdav needs xml support
|
||||
NEON_CONF_OPTS += --disable-webdav
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user