mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
package/gmock: install .pc file
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>
This commit is contained in:
parent
bac3f17470
commit
4dd576b563
@ -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 $(@D)/lib/.libs/libgmock_main.a $(STAGING_DIR)/usr/lib/libgmock_main.a
|
||||||
$(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/include/gmock/
|
$(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/include/gmock/
|
||||||
cp -rp $(@D)/include/gmock/* $(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
|
endef
|
||||||
|
|
||||||
# Unzipping inside $(@D) and moving everything from the created subdirectory is
|
# Unzipping inside $(@D) and moving everything from the created subdirectory is
|
||||||
|
11
package/gmock/gmock.pc
Normal file
11
package/gmock/gmock.pc
Normal file
@ -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}
|
Loading…
x
Reference in New Issue
Block a user