mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/3] libpcre: Allow installation of pcregrep
Date: Wed, 25 Jul 2012 21:41:22 +0200	[thread overview]
Message-ID: <1343245282-24448-3-git-send-email-bernhard@bwalle.de> (raw)
In-Reply-To: <1343245282-24448-1-git-send-email-bernhard@bwalle.de>

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/libpcre.in   |    3 +++
 rules/libpcre.make |    5 +++++
 2 files changed, 8 insertions(+)

diff --git a/rules/libpcre.in b/rules/libpcre.in
index 491c65b..adb7519 100644
--- a/rules/libpcre.in
+++ b/rules/libpcre.in
@@ -33,4 +33,7 @@ config LIBPCRE_LIBPCREPOSIX
 config LIBPCRE_LIBPCRECPP
        bool "install libpcrecpp (c++ bindings for libpcre)"
 
+config LIBPCRE_PCREGREP
+       bool "install pcregrep on the target"
+
 endif
diff --git a/rules/libpcre.make b/rules/libpcre.make
index 8148b0f..faa1c78 100644
--- a/rules/libpcre.make
+++ b/rules/libpcre.make
@@ -66,6 +66,11 @@ endif
 ifdef PTXCONF_LIBPCRE_LIBPCRECPP
 	@$(call install_lib, libpcre, 0, 0, 0644, libpcrecpp)
 endif
+
+ifdef PTXCONF_LIBPCRE_PCREGREP
+	@$(call install_copy, libpcre, 0, 0, 0755, -, /usr/bin/pcregrep)
+endif
+
 	@$(call install_finish, libpcre)
 
 	@$(call touch)
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

      parent reply	other threads:[~2012-07-25 19:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25 19:41 [ptxdist] [PATCH 1/3] libpcre: version bump 8.00 -> 8.31 Bernhard Walle
2012-07-25 19:41 ` [ptxdist] [PATCH 2/3] libpcre: Add option to enable libbz2 for pcregrep Bernhard Walle
2012-07-25 21:07   ` Michael Olbrich
2012-07-26 19:47     ` [ptxdist] [PATCH 1/3] libpcre: version bump 8.00 -> 8.31 Bernhard Walle
2012-07-26 19:47       ` [ptxdist] [PATCH 2/3] libpcre: Add option to enable libbz2 for pcregrep Bernhard Walle
2012-07-26 19:47       ` [ptxdist] [PATCH 3/3] libpcre: Allow installation of pcregrep Bernhard Walle
2012-07-27 13:29       ` [ptxdist] [PATCH 1/3] libpcre: version bump 8.00 -> 8.31 Michael Olbrich
2012-07-25 19:41 ` Bernhard Walle [this message]

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=1343245282-24448-3-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.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