gtest: add missing include files

Fixes #4926
This commit is contained in:
Michael Gehring 2016-10-09 11:08:39 +02:00
parent c455d6587f
commit 3e90a7bbd4

View file

@ -1,7 +1,7 @@
# Template build file for 'gtest' # Template build file for 'gtest'
pkgname=gtest pkgname=gtest
version=1.8.0 version=1.8.0
revision=1 revision=2
wrksrc="googletest-release-${version}" wrksrc="googletest-release-${version}"
build_style=cmake build_style=cmake
short_desc="Google's framework for writing C++ tests" short_desc="Google's framework for writing C++ tests"
@ -16,9 +16,10 @@ configure_args="-DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON"
do_install() { do_install() {
vinstall build/googlemock/gtest/libgtest.so 644 usr/lib libgtest.so vinstall build/googlemock/gtest/libgtest.so 644 usr/lib libgtest.so
vinstall build/googlemock/gtest/libgtest_main.so 644 usr/lib libgtest_main.so vinstall build/googlemock/gtest/libgtest_main.so 644 usr/lib libgtest_main.so
vmkdir usr/include/gtest/internal vmkdir usr/include/gtest/internal/custom
vcopy googletest/include/gtest/*.h usr/include/gtest vcopy googletest/include/gtest/*.h usr/include/gtest
vcopy googletest/include/gtest/internal/*.h usr/include/gtest/internal vcopy googletest/include/gtest/internal/*.h usr/include/gtest/internal
vcopy googletest/include/gtest/internal/custom/*.h usr/include/gtest/internal/custom
} }
gtest-devel_package() { gtest-devel_package() {