* [ptxdist] [PATCH] gflags: add new package
@ 2014-07-20 9:49 Guillaume GOURAT
0 siblings, 0 replies; only message in thread
From: Guillaume GOURAT @ 2014-07-20 9:49 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-20 9:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-20 9:49 [ptxdist] [PATCH] gflags: add new package Guillaume GOURAT
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox