From: Yann E. MORIN Date: Thu, 23 Jun 2016 07:09:34 +0000 (+0200) Subject: package/gmock: install .pc file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dd576b563eff108de16e7318443016c89798e09;p=buildroot.git package/gmock: install .pc file Signed-off-by: "Yann E. MORIN" Signed-off-by: Cedric Chedaleux Signed-off-by: Thomas Petazzoni --- diff --git a/package/gmock/gmock.mk b/package/gmock/gmock.mk index a0351d0ad6..4f04422a5d 100644 --- a/package/gmock/gmock.mk +++ b/package/gmock/gmock.mk @@ -39,6 +39,8 @@ define GMOCK_INSTALL_STAGING_CMDS $(INSTALL) -D -m 0755 $(@D)/lib/.libs/libgmock_main.a $(STAGING_DIR)/usr/lib/libgmock_main.a $(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/include/gmock/ cp -rp $(@D)/include/gmock/* $(STAGING_DIR)/usr/include/gmock/ + $(INSTALL) -D -m 0755 package/gmock/gmock.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/gmock.pc endef # Unzipping inside $(@D) and moving everything from the created subdirectory is diff --git a/package/gmock/gmock.pc b/package/gmock/gmock.pc new file mode 100644 index 0000000000..2f900682ef --- /dev/null +++ b/package/gmock/gmock.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${prefix}/lib/ +includedir=${prefix}/include + +Name: gmock +Description: Google C++ Mocking Framework +Version: 1.7.0 +Libs: -L${libdir} -lgmock +Libs.private: -lpthread +Cflags: -I${includedir}