From: spdawson at gmail.com <spdawson@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] sconeserver: new package
Date: Mon, 23 Jul 2012 14:49:02 +0100 [thread overview]
Message-ID: <1343051342-12829-1-git-send-email-spdawson@gmail.com> (raw)
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/Config.in | 1 +
package/sconeserver/Config.in | 100 ++++++++++++++++++++++++++++++++++++
package/sconeserver/sconeserver.mk | 49 ++++++++++++++++++
3 files changed, 150 insertions(+)
create mode 100644 package/sconeserver/Config.in
create mode 100644 package/sconeserver/sconeserver.mk
diff --git a/package/Config.in b/package/Config.in
index f664b8e..a88e639 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -591,6 +591,7 @@ source "package/rsh-redone/Config.in"
source "package/rsync/Config.in"
source "package/rtorrent/Config.in"
source "package/samba/Config.in"
+source "package/sconeserver/Config.in"
source "package/ser2net/Config.in"
source "package/socat/Config.in"
source "package/socketcand/Config.in"
diff --git a/package/sconeserver/Config.in b/package/sconeserver/Config.in
new file mode 100644
index 0000000..7290ec0
--- /dev/null
+++ b/package/sconeserver/Config.in
@@ -0,0 +1,100 @@
+config BR2_PACKAGE_SCONESERVER
+ bool "sconeserver"
+ depends on BR2_INSTALL_LIBSTDCPP
+ 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/
+
+comment "sconeserver requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP
+
+menu "Modules"
+ depends on BR2_PACKAGE_SCONESERVER
+
+config BR2_PACKAGE_SCONESERVER_EXAMPLES
+ bool "examples"
+ default n
+ help
+ Example modules for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_SSL
+ bool "ssl"
+ default y
+ select BR2_PACKAGE_OPENSSL
+ help
+ SSL module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE
+ bool "http::sconesite"
+ default y
+ select BR2_PACKAGE_LIBXML2
+ help
+ http::sconesite module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE
+ bool "http::sconesite::image"
+ default n
+ depends on BR2_PACKAGE_IMAGEMAGICK
+ select BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE
+ help
+ http::sconesite::image module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_MYSQL
+ bool "mysql"
+ default n
+ depends on BR2_PACKAGE_MYSQL_CLIENT
+ help
+ MySQL module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_BLUETOOTH
+ bool "bluetooth"
+ default n
+ depends on BR2_PACKAGE_BLUEZ_UTILS
+ help
+ Bluetooth module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_RSS
+ bool "rss"
+ default y
+ select BR2_PACKAGE_LIBXML2
+ help
+ RSS module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_LOCATION
+ bool "location"
+ default n
+ depends on BR2_PACKAGE_GPSD
+ help
+ Location module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_LETTUCE
+ bool "lettuce"
+ default n
+ help
+ Lettuce module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_MATHS
+ bool "maths"
+ default n
+ depends on BR2_PACKAGE_GMP
+ depends on BR2_PACKAGE_MPFR
+ help
+ Maths module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_TESTBUILDER
+ bool "testbuilder"
+ default n
+ help
+ Testbuilder module for SconeServer
+
+config BR2_PACKAGE_SCONESERVER_UI
+ bool "ui"
+ default n
+ depends on BR2_PACKAGE_XLIB_LIBX11
+ help
+ UI module for SconeServer
+
+endmenu
diff --git a/package/sconeserver/sconeserver.mk b/package/sconeserver/sconeserver.mk
new file mode 100644
index 0000000..dba5fe6
--- /dev/null
+++ b/package/sconeserver/sconeserver.mk
@@ -0,0 +1,49 @@
+#############################################################
+#
+# sconeserver
+#
+#############################################################
+# Release tarball doesn't build cleanly, so use a recent
+# Subversion trunk snapshot.
+SCONESERVER_VERSION = 177
+SCONESERVER_SITE = \
+ https://sconeserver.svn.sourceforge.net/svnroot/sconeserver/trunk
+SCONESERVER_SITE_METHOD = svn
+
+SCONESERVER_LICENSE = GPLv2+
+SCONESERVER_LICENSE_FILES = COPYING
+
+SCONESERVER_CONF_OPT += \
+ --with-ip \
+ --with-local \
+ $(if $(BR2_INET_IPV6),--with-ip6,--without-ip6) \
+ $(if $(BR2_PACKAGE_SCONESERVER_EXAMPLES),--with-examples,--without-examples) \
+ $(if $(BR2_PACKAGE_SCONESERVER_LETTUCE),--with-lettuce,--without-lettuce) \
+ $(if $(BR2_PACKAGE_SCONESERVER_TESTBUILDER),--with-testbuilder,--without-testbuilder) \
+ $(if $(BR2_PACKAGE_SCONESERVER_SSL),--with-ssl,--without-ssl) \
+ $(if $(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE),--with-sconesite,--without-sconesite) \
+ $(if $(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE),--with-sconesite-image,--without-sconesite-image) \
+ $(if $(BR2_PACKAGE_SCONESERVER_MYSQL),--with-mysql,--without-mysql) \
+ $(if $(BR2_PACKAGE_SCONESERVER_BLUETOOTH),--with-bluetooth,--without-bluetooth) \
+ $(if $(BR2_PACKAGE_SCONESERVER_RSS),--with-rss,--without-rss) \
+ $(if $(BR2_PACKAGE_SCONESERVER_LOCATION),--with-location,--without-location) \
+ $(if $(BR2_PACKAGE_SCONESERVER_MATHS),--with-maths,--without-maths) \
+ $(if $(BR2_PACKAGE_SCONESERVER_UI),--with-ui,--without-ui)
+
+# Help SconeServer to find the libxml2 headers.
+ifeq ($(BR2_PACKAGE_LIBXML2),y)
+ SCONESERVER_CONF_OPT += CPPFLAGS="-I$(STAGING_DIR)/usr/include/libxml2"
+endif
+
+SCONESERVER_DEPENDENCIES = \
+ pcre \
+ $(if $(BR2_PACKAGE_SCONESERVER_SSL),openssl) \
+ $(if $(or $(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE),$(BR2_PACKAGE_SCONESERVER_RSS)),libxml2) \
+ $(if $(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE),imagemagick) \
+ $(if $(BR2_PACKAGE_SCONESERVER_MYSQL),mysql_client) \
+ $(if $(BR2_PACKAGE_SCONESERVER_BLUETOOTH),bluez_utils) \
+ $(if $(BR2_PACKAGE_SCONESERVER_LOCATION),gpsd) \
+ $(if $(BR2_PACKAGE_SCONESERVER_MATHS),gmp mpfr) \
+ $(if $(BR2_PACKAGE_SCONESERVER_UI),xlib_libX11)
+
+$(eval $(autotools-package))
--
1.7.9.5
next reply other threads:[~2012-07-23 13:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-23 13:49 spdawson at gmail.com [this message]
2012-07-26 16:57 ` [Buildroot] [PATCH] sconeserver: new package Arnout Vandecappelle
2012-07-26 23:14 ` Samuel Martin
2012-07-27 6:34 ` Thomas Petazzoni
2012-07-27 6:45 ` Thomas Petazzoni
2012-07-27 8:12 ` Simon Dawson
2012-07-27 8:27 ` Arnout Vandecappelle
2012-07-27 8:38 ` Simon Dawson
2012-07-27 8:39 ` Thomas Petazzoni
2012-07-27 8:43 ` Simon Dawson
2012-07-27 8:42 ` Simon Dawson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343051342-12829-1-git-send-email-spdawson@gmail.com \
--to=spdawson@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox