gtest: update to 1.8.0
Moved from GoogleCode to GitHub. New directory hiearchy. A library libgmock{,_main}.so is built but not installed. Perhaps add a subpackage for it.
This commit is contained in:
parent
562615a7e6
commit
469a5068c1
1 changed files with 9 additions and 8 deletions
|
@ -1,23 +1,24 @@
|
|||
# Template build file for 'gtest'
|
||||
pkgname=gtest
|
||||
version=1.7.0
|
||||
version=1.8.0
|
||||
revision=1
|
||||
wrksrc="googletest-release-${version}"
|
||||
build_style=cmake
|
||||
short_desc="Google's framework for writing C++ tests"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="MIT"
|
||||
hostmakedepends="unzip cmake"
|
||||
homepage="https://code.google.com/p/googletest"
|
||||
distfiles="https://googletest.googlecode.com/files/${pkgname}-${version}.zip"
|
||||
checksum=247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d
|
||||
homepage="https://github.com/google/googletest"
|
||||
distfiles="https://github.com/google/googletest/archive/release-${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum=58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8
|
||||
configure_args="-DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON"
|
||||
|
||||
do_install() {
|
||||
vinstall build/libgtest.so 644 usr/lib libgtest.so
|
||||
vinstall build/libgtest_main.so 644 usr/lib libgtest_main.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
|
||||
vmkdir usr/include/gtest/internal
|
||||
vcopy include/gtest/*.h usr/include/gtest
|
||||
vcopy include/gtest/internal/*.h usr/include/gtest/internal
|
||||
vcopy googletest/include/gtest/*.h usr/include/gtest
|
||||
vcopy googletest/include/gtest/internal/*.h usr/include/gtest/internal
|
||||
}
|
||||
|
||||
gtest-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue