Cxxtools is a comprehensive C++ class library for Unix and Linux. The
library includes classes for serialization, unicode text, multi
threading, networking, rpc, http client and server, xml, logging and
many more.

Signed-off-by: Bernhard Sessler <[email protected]>
---
 rules/cxxtools.in   | 14 +++++++++++++
 rules/cxxtools.make | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)
 create mode 100644 rules/cxxtools.in
 create mode 100644 rules/cxxtools.make

diff --git a/rules/cxxtools.in b/rules/cxxtools.in
new file mode 100644
index 0000000..c009b5a
--- /dev/null
+++ b/rules/cxxtools.in
@@ -0,0 +1,14 @@
+## SECTION=system_libraries
+
+config CXXTOOLS
+       tristate
+       prompt "cxxtools"
+       select LIBC_PTHREAD
+       select GCCLIBS_GCC_S
+       select GCCLIBS_CXX
+       help
+         Cxxtools is a comprehensive C++ class library for Unix
+         and Linux. The library includes classes for
+         serialization, unicode text, multi threading,
+         networking, rpc, http client and server, xml,
+         logging and many more.
diff --git a/rules/cxxtools.make b/rules/cxxtools.make
new file mode 100644
index 0000000..3b3383a
--- /dev/null
+++ b/rules/cxxtools.make
@@ -0,0 +1,59 @@
+# -*-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
+#
+PACKAGES-$(PTXCONF_CXXTOOLS) += cxxtools
+
+#
+# Paths and names
+#
+CXXTOOLS_VERSION       := 2.2.1
+CXXTOOLS_MD5           := aab00068ae5237435b37ac86f2ac7576
+CXXTOOLS                       := cxxtools-$(CXXTOOLS_VERSION)
+CXXTOOLS_SUFFIX                := tar.gz
+CXXTOOLS_URL           := 
http://www.tntnet.org/download/$(CXXTOOLS).$(CXXTOOLS_SUFFIX)
+CXXTOOLS_SOURCE                := $(SRCDIR)/$(CXXTOOLS).$(CXXTOOLS_SUFFIX)
+CXXTOOLS_DIR           := $(BUILDDIR)/$(CXXTOOLS)
+CXXTOOLS_LICENSE       := LGPLv2.1
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+CXXTOOLS_CONF_ENV      := $(CROSS_ENV)
+CXXTOOLS_CONF_TOOL     := autoconf
+CXXTOOLS_CONF_OPT      := $(CROSS_AUTOCONF_USR) \
+       --disable-static \
+       --disable-unittest \
+       --disable-demos \
+       --disable-dependency-tracking
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/cxxtools.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, cxxtools)
+       @$(call install_fixup, cxxtools,PRIORITY,optional)
+       @$(call install_fixup, cxxtools,SECTION,base)
+       @$(call install_fixup, cxxtools,AUTHOR,"Bernhard Seßler 
<[email protected]>")
+       @$(call install_fixup, cxxtools,DESCRIPTION,missing)
+
+       @$(call install_lib, cxxtools, 0, 0, 0644, libcxxtools)
+
+       @$(call install_finish, cxxtools)
+
+       @$(call touch)
+
+# vim: syntax=make
-- 
1.8.3.2


-- 
ptxdist mailing list
[email protected]

Reply via email to