mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
gtest: now includes gmock
This commit is contained in:
parent
c23f4ce7a5
commit
4569d5f0b5
1 changed files with 1 additions and 10 deletions
|
@ -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=3
|
revision=4
|
||||||
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"
|
||||||
|
@ -13,15 +13,6 @@ distfiles="https://github.com/google/googletest/archive/release-${version}.tar.g
|
||||||
checksum=58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8
|
checksum=58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8
|
||||||
configure_args="-DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON"
|
configure_args="-DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON"
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vinstall build/googlemock/gtest/libgtest.so 644 usr/lib libgtest.so
|
|
||||||
vinstall build/googlemock/gtest/libgtest_main.so 644 usr/lib libgtest_main.so
|
|
||||||
vmkdir usr/include/gtest/internal/custom
|
|
||||||
vcopy googletest/include/gtest/*.h usr/include/gtest
|
|
||||||
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() {
|
||||||
depends="gtest>=${version}_${revision}"
|
depends="gtest>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue