mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Guillaume GOURAT" <guillaume.gourat@nexvision.fr>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] gflags: add new package
Date: Sun, 20 Jul 2014 11:49:03 +0200	[thread overview]
Message-ID: <006101cfa3ff$d8131170$88393450$@gourat@nexvision.fr> (raw)

    gflags: add new package
    
    Signed-off-by: Guillaume Gourat <guillaume.gourat@nexvision.fr>

diff --git a/rules/gflags.in b/rules/gflags.in
new file mode 100755
index 0000000..fc6c199
--- /dev/null
+++ b/rules/gflags.in
@@ -0,0 +1,16 @@
+## SECTION=system_libraries
+
+config GFLAGS
+	tristate
+	prompt "gflags"
+	select LIBC_M
+	select LIBC_PTHREAD
+	select GCCLIBS_GCC_S
+	select GCCLIBS_CXX
+	help
+	  The gflags library implements commandline flags processing. As
such it's
+	  a replacement for getopt(). It has increased flexibility,
including
+	  built-in support for C++ types like string, and the ability to
define
+	  flags in the source file in which they're used.
+	  
+	  See https://code.google.com/p/gflags/ for info about it.
diff --git a/rules/gflags.make b/rules/gflags.make
new file mode 100755
index 0000000..c01910e
--- /dev/null
+++ b/rules/gflags.make
@@ -0,0 +1,53 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Guillaume Gourat <guillaume.gourat@nexvision.fr>
+#
+# 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_GFLAGS) += gflags
+
+#
+# Paths and names
+#
+GFLAGS_VERSION	:= 2.0
+GFLAGS_MD5 := 9084829124e02a7e6be0f0f824523423
+GFLAGS		:= gflags-$(GFLAGS_VERSION)
+GFLAGS_SUFFIX	:= tar.gz
+GFLAGS_URL		:=
http://gflags.googlecode.com/files/$(GFLAGS)-no-svn-files.$(GFLAGS_SUFFIX)
+GFLAGS_SOURCE	:= $(SRCDIR)/$(GFLAGS)-no-svn-files.$(GFLAGS_SUFFIX)
+GFLAGS_DIR		:= $(BUILDDIR)/$(GFLAGS)
+GFLAGS_LICENSE	:= BSD New
+
+#
----------------------------------------------------------------------------
+# Prepare
+#
----------------------------------------------------------------------------
+
+GFLAGS_CONF_TOOL	:= autoconf
+
+#
----------------------------------------------------------------------------
+# Target-Install
+#
----------------------------------------------------------------------------
+
+$(STATEDIR)/gflags.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, gflags)
+	@$(call install_fixup, gflags,PRIORITY,optional)
+	@$(call install_fixup, gflags,SECTION,base)
+	@$(call install_fixup, gflags,AUTHOR,"Guillaume Gourat
<guillaume.gourat@nexvision.fr>")
+	@$(call install_fixup, gflags,DESCRIPTION,missing)
+
+	@$(call install_lib, gflags, 0, 0, 0644, libgflags)
+
+	@$(call install_finish, gflags)
+
+	@$(call touch)
+
+# vim: syntax=make



-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2014-07-20  9:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='006101cfa3ff$d8131170$88393450$@gourat@nexvision.fr' \
    --to=guillaume.gourat@nexvision.fr \
    --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