mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Sessler <bernhard.sessler@corscience.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] cxxtools: Add new package
Date: Wed,  5 Feb 2014 13:36:33 +0100	[thread overview]
Message-ID: <1391603794-25701-1-git-send-email-bernhard.sessler@corscience.de> (raw)

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 <bernhard.sessler@corscience.de>
---
 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 <bernhard.sessler@corscience.de>
+#
+# 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 <bernhard.sessler@corscience.de>")
+	@$(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
ptxdist@pengutronix.de

             reply	other threads:[~2014-02-05 12:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 12:36 Bernhard Sessler [this message]
2014-02-05 12:36 ` [ptxdist] [PATCH 2/2] tntnet: " Bernhard Sessler
2014-02-12  8:56 ` [ptxdist] [PATCH 1/2] cxxtools: " Michael Olbrich

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=1391603794-25701-1-git-send-email-bernhard.sessler@corscience.de \
    --to=bernhard.sessler@corscience.de \
    --cc=ptxdist@pengutronix.de \
    /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