This host package builds the tntnet SDK, which is required in order
to generate the pre-compiled C++ modules.

Signed-off-by: Bernhard Sessler <[email protected]>
---
 rules/host-tntnet.in   |  9 +++++++++
 rules/host-tntnet.make | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 rules/host-tntnet.in
 create mode 100644 rules/host-tntnet.make

diff --git a/rules/host-tntnet.in b/rules/host-tntnet.in
new file mode 100644
index 0000000..dafa4bf
--- /dev/null
+++ b/rules/host-tntnet.in
@@ -0,0 +1,9 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_TNTNET
+       tristate
+       default ALLYES
+       select HOST_ZLIB
+       help
+         web application server for c++
diff --git a/rules/host-tntnet.make b/rules/host-tntnet.make
new file mode 100644
index 0000000..53aee1a
--- /dev/null
+++ b/rules/host-tntnet.make
@@ -0,0 +1,44 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Bernhard Seßler <[email protected]>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_TNTNET) += host-tntnet
+
+#
+# Paths and names
+#
+HOST_TNTNET_VERSION    := 2.2.1
+HOST_TNTNET_MD5                := febe799675c1b8b2f7259bad30cf6f23
+HOST_TNTNET            := tntnet-$(HOST_TNTNET_VERSION)
+HOST_TNTNET_SUFFIX     := tar.gz
+HOST_TNTNET_URL                := 
http://www.tntnet.org/download/$(HOST_TNTNET).$(HOST_TNTNET_SUFFIX)
+HOST_TNTNET_SOURCE     := $(SRCDIR)/$(HOST_TNTNET).$(HOST_TNTNET_SUFFIX)
+HOST_TNTNET_DIR                := $(HOST_BUILDDIR)/$(HOST_TNTNET)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_TNTNET_CONF_TOOL  := autoconf
+HOST_TNTNET_CONF_OPT   := \
+       $(HOST_AUTOCONF) \
+       --disable-dependency-tracking \
+       --disable-unittest \
+       --with-demos=no \
+       --with-epoll=no \
+       --with-sdk=yes \
+       --with-sendfile=no \
+       --with-server=no \
+       --with-ssl=no \
+       --with-stressjob=no
+
+# vim: syntax=make
-- 
1.8.3.2


-- 
ptxdist mailing list
[email protected]

Reply via email to