From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.9]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1U0Wov-0006xt-EI for ptxdist@pengutronix.de; Wed, 30 Jan 2013 13:31:20 +0100 Received: from mail.er.corscience.de (mail.er.corscience.de [192.168.1.6]) by corscience.de (Postfix) with ESMTP id 65C1951F24 for ; Wed, 30 Jan 2013 13:31:11 +0100 (CET) Received: from [192.168.102.105] (sovereign.2og.er.corscience.de [192.168.102.105]) by mail.er.corscience.de (Postfix) with ESMTPSA id 6FEB9347A140 for ; Wed, 30 Jan 2013 13:31:11 +0100 (CET) Message-ID: <5109128F.5030203@corscience.de> Date: Wed, 30 Jan 2013 13:31:11 +0100 From: =?ISO-8859-1?Q?Bernhard_Se=DFler?= MIME-Version: 1.0 References: <1359546048-16536-1-git-send-email-bernhard.sessler@corscience.de> In-Reply-To: <1359546048-16536-1-git-send-email-bernhard.sessler@corscience.de> Subject: Re: [ptxdist] [PATCH] log4cplus: Add new package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Argh. Just recognized the missing spaces after the package name in log4cplus.in. I'll send an updated patch. Regards, Bernhard On 30/01/13 12:40, Bernhard Sessler wrote: > log4cplus is an excellent port of the popular log4j logging library > to C++. > > Signed-off-by: Bernhard Sessler > --- > rules/log4cplus.in | 21 ++++++++++++++++ > rules/log4cplus.make | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 88 insertions(+) > create mode 100644 rules/log4cplus.in > create mode 100644 rules/log4cplus.make > > diff --git a/rules/log4cplus.in b/rules/log4cplus.in > new file mode 100644 > index 0000000..f2d637c > --- /dev/null > +++ b/rules/log4cplus.in > @@ -0,0 +1,21 @@ > +## SECTION=system_libraries > + > +menuconfig LOG4CPLUS > + tristate > + prompt "log4cplus" > + select GLIBC_PTHREAD > + select QT4 if LOG4CPLUS_QT4 > + help > + The purpose of this project is to port the > + excellent Log for Java (log4j) logging > + library to C++. > + > +if LOG4CPLUS > + > +config LOG4CPLUS_QT4 > + bool > + prompt "Qt4 debug appender" > + help > + Build the log4cplus Qt4 debug appender > + > +endif > diff --git a/rules/log4cplus.make b/rules/log4cplus.make > new file mode 100644 > index 0000000..b494b39 > --- /dev/null > +++ b/rules/log4cplus.make > @@ -0,0 +1,67 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2012 by Bernhard Sessler > +# Corscience GmbH & Co. KG , Germany > +# > +# 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_LOG4CPLUS) += log4cplus > + > +# > +# Paths and names > +# > +LOG4CPLUS_VERSION := 1.1.0 > +LOG4CPLUS_MD5 := 8f04a7b2db55384440b0ab83b6362d5d > +LOG4CPLUS := log4cplus-$(LOG4CPLUS_VERSION) > +LOG4CPLUS_SUFFIX := tar.xz > +LOG4CPLUS_URL := $(call ptx/mirror, SF, log4cplus/$(LOG4CPLUS).$(LOG4CPLUS_SUFFIX)) > +LOG4CPLUS_SOURCE := $(SRCDIR)/$(LOG4CPLUS).$(LOG4CPLUS_SUFFIX) > +LOG4CPLUS_DIR := $(BUILDDIR)/$(LOG4CPLUS) > +LOG4CPLUS_LICENSE := log4cplus > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +LOG4CPLUS_CONF_TOOL := cmake > + > +LOG4CPLUS_CONF_OPT := $(CROSS_CMAKE_USR) > +LOG4CPLUS_CONF_OPT += -DLOG4CPLUS_BUILD_TESTING=OFF > + > +ifdef PTXCONF_LOG4CPLUS_QT4 > +LOG4CPLUS_CONF_OPT += -DLOG4CPLUS_QT4=ON > +endif > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/log4cplus.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, log4cplus) > + @$(call install_fixup, log4cplus, PRIORITY, optional) > + @$(call install_fixup, log4cplus, SECTION, base) > + @$(call install_fixup, log4cplus, AUTHOR, \ > + "Bernhard Sessler ") > + @$(call install_fixup, log4cplus,DESCRIPTION,missing) > + > + @$(call install_lib, log4cplus, 0, 0, 0644, liblog4cplus) > + @$(call install_copy, log4cplus, 0, 0, 0755, -, /usr/bin/loggingserver) > + > +ifdef PTXCONF_LOG4CPLUS_QT4 > + @$(call install_lib, log4cplus, 0, 0, 0644, liblog4cplusqt4debugappender) > +endif > + > + @$(call install_finish, log4cplus) > + > + @$(call touch) > + > +# vim: syntax=make -- ptxdist mailing list ptxdist@pengutronix.de