Move all to deprecated folder.
This commit is contained in:
106
deprecated/firmware/buildroot/package/sconeserver/Config.in
Normal file
106
deprecated/firmware/buildroot/package/sconeserver/Config.in
Normal file
@@ -0,0 +1,106 @@
|
||||
menuconfig BR2_PACKAGE_SCONESERVER
|
||||
bool "sconeserver"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
select BR2_PACKAGE_PCRE
|
||||
help
|
||||
Sconeserver is a modular, object-orientated and extremely versatile
|
||||
network server framework for GNU/Linux and UNIX-like platforms.
|
||||
|
||||
http://www.sconemad.com/sconeserver/
|
||||
|
||||
if BR2_PACKAGE_SCONESERVER
|
||||
|
||||
comment "Sconeserver modules"
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_EXAMPLES
|
||||
bool "examples"
|
||||
help
|
||||
Example modules for Sconeserver
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE
|
||||
bool "http::sconesite"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
http::sconesite module for Sconeserver
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE
|
||||
bool "http::sconesite::image"
|
||||
depends on BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE
|
||||
depends on BR2_USE_MMU # imagemagick
|
||||
select BR2_PACKAGE_IMAGEMAGICK
|
||||
help
|
||||
http::sconesite::image module for Sconeserver
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_MYSQL
|
||||
bool "mysql"
|
||||
depends on BR2_USE_MMU # mysql
|
||||
select BR2_PACKAGE_MYSQL
|
||||
help
|
||||
MySQL module for Sconeserver
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_BLUETOOTH
|
||||
bool "bluetooth"
|
||||
depends on BR2_USE_WCHAR # bluez->libglib2
|
||||
depends on BR2_USE_MMU # bluez->dbus
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # bluez->dbus, bluez->libglib2
|
||||
depends on !BR2_STATIC_LIBS # bluez_utils
|
||||
select BR2_PACKAGE_BLUEZ_UTILS
|
||||
help
|
||||
Bluetooth module for Sconeserver
|
||||
|
||||
comment "bluetooth support needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_RSS
|
||||
bool "rss"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
RSS module for Sconeserver
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_LOCATION
|
||||
bool "location"
|
||||
depends on BR2_USE_MMU # gpsd
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gpsd
|
||||
depends on !BR2_STATIC_LIBS # gpsd
|
||||
select BR2_PACKAGE_GPSD
|
||||
help
|
||||
Location module for Sconeserver
|
||||
|
||||
comment "location support needs a toolchain w/ theads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBRARY
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_LETTUCE
|
||||
bool "lettuce"
|
||||
help
|
||||
Sconeserver module for Lettuce embedded automation platform
|
||||
|
||||
http://www.sconemad.com/lettuce/
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_MATHS
|
||||
bool "maths"
|
||||
select BR2_PACKAGE_MPFR
|
||||
help
|
||||
Mathematics module for Sconeserver
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_TESTBUILDER
|
||||
bool "testbuilder"
|
||||
help
|
||||
Testbuilder module for Sconeserver
|
||||
|
||||
config BR2_PACKAGE_SCONESERVER_UI
|
||||
bool "ui"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
help
|
||||
UI module for Sconeserver
|
||||
|
||||
comment "ui module requires X.org"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
|
||||
endif # BR2_PACKAGE_SCONESERVER
|
||||
|
||||
comment "sconeserver needs a toolchain w/ C++, NPTL"
|
||||
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 442c29ae93f615b610983187023ba6c1a9ca69526cb07f69576efba1d29d9daf sconeserver-c4b8e14f6e9e06cbff5b4195f69d6fce9391a1cd.tar.gz
|
||||
114
deprecated/firmware/buildroot/package/sconeserver/sconeserver.mk
Normal file
114
deprecated/firmware/buildroot/package/sconeserver/sconeserver.mk
Normal file
@@ -0,0 +1,114 @@
|
||||
################################################################################
|
||||
#
|
||||
# sconeserver
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SCONESERVER_VERSION = c4b8e14f6e9e06cbff5b4195f69d6fce9391a1cd
|
||||
SCONESERVER_SITE = $(call github,sconemad,sconeserver,$(SCONESERVER_VERSION))
|
||||
SCONESERVER_LICENSE = GPLv2+
|
||||
SCONESERVER_LICENSE_FILES = COPYING
|
||||
# fetching from Git, we need to generate the configure script
|
||||
SCONESERVER_AUTORECONF = YES
|
||||
SCONESERVER_DEPENDENCIES += pcre
|
||||
# disable markdown module because its git submodule cmark
|
||||
# https://github.com/sconemad/sconeserver/tree/master/markdown
|
||||
# has no cross-compile support provided by the sconeserver build system
|
||||
SCONESERVER_CONF_OPTS += --with-ip --with-local --with-ip6 --without-markdown
|
||||
|
||||
# Sconeserver configure script fails to find the libxml2 headers.
|
||||
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||
SCONESERVER_CONF_OPTS += \
|
||||
--with-xml2-config="$(STAGING_DIR)/usr/bin/xml2-config"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
SCONESERVER_DEPENDENCIES += openssl
|
||||
SCONESERVER_CONF_OPTS += --with-ssl
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
SCONESERVER_CONF_ENV += SSL_LIBADD=-lz
|
||||
endif
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_EXAMPLES),y)
|
||||
SCONESERVER_CONF_OPTS += --with-examples
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-examples
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE),y)
|
||||
SCONESERVER_DEPENDENCIES += libxml2
|
||||
SCONESERVER_CONF_OPTS += --with-sconesite
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-sconesite
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE),y)
|
||||
SCONESERVER_DEPENDENCIES += imagemagick host-pkgconf
|
||||
SCONESERVER_CONF_OPTS += \
|
||||
--with-sconesite-image \
|
||||
--with-Magick++-config="$(STAGING_DIR)/usr/bin/Magick++-config"
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-sconesite-image --with-Magick++-config=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y)
|
||||
SCONESERVER_DEPENDENCIES += mysql
|
||||
SCONESERVER_CONF_OPTS += \
|
||||
--with-mysql \
|
||||
--with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql"
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-mysql
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_BLUETOOTH),y)
|
||||
SCONESERVER_DEPENDENCIES += bluez_utils
|
||||
SCONESERVER_CONF_OPTS += --with-bluetooth
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-bluetooth
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_RSS),y)
|
||||
SCONESERVER_DEPENDENCIES += libxml2
|
||||
SCONESERVER_CONF_OPTS += --with-rss
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-rss
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_LOCATION),y)
|
||||
SCONESERVER_DEPENDENCIES += host-pkgconf gpsd
|
||||
SCONESERVER_CONF_OPTS += --with-location
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-location
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_LETTUCE),y)
|
||||
SCONESERVER_CONF_OPTS += --with-lettuce
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-lettuce
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_MATHS),y)
|
||||
SCONESERVER_DEPENDENCIES += mpfr
|
||||
SCONESERVER_CONF_OPTS += --with-maths
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-maths
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_TESTBUILDER),y)
|
||||
SCONESERVER_CONF_OPTS += --with-testbuilder
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-testbuilder
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SCONESERVER_UI),y)
|
||||
SCONESERVER_DEPENDENCIES += xlib_libX11
|
||||
SCONESERVER_CONF_OPTS += --with-ui
|
||||
else
|
||||
SCONESERVER_CONF_OPTS += --without-ui
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user