From 5b75f2aeaa60ace248048069320332ae8a29f9fc Mon Sep 17 00:00:00 2001 From: Bernhard Walle Date: Thu, 26 Jul 2012 21:47:31 +0200 Subject: libpcre: Allow installation of pcregrep Signed-off-by: Bernhard Walle Signed-off-by: Michael Olbrich --- rules/libpcre.in | 3 +++ rules/libpcre.make | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/rules/libpcre.in b/rules/libpcre.in index 713d35d38..79fa9dfb6 100644 --- a/rules/libpcre.in +++ b/rules/libpcre.in @@ -34,4 +34,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 8148b0f30..faa1c7899 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) -- cgit v1.2.3