Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
Signed-off-by: Cedric Chedaleux <cedric.chedaleux@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
$(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
--- /dev/null
+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}