New package: gtest-1.7.0

This commit is contained in:
Enno Boland 2014-05-30 10:00:55 +02:00
parent 77da900386
commit 389f12231f
3 changed files with 32 additions and 0 deletions

View File

@ -1634,3 +1634,5 @@ libuv.so.0.10 libuv-0.10.27_1
libXm.so.2 lesstif-0.95.2_1
libMrm.so.2 lesstif-0.95.2_1
libUil.so.2 lesstif-0.95.2_1
libgtest.so gtest-1.7.0_1
libgtest_main.so gtest-1.7.0_1

1
srcpkgs/gtest-devel Symbolic link
View File

@ -0,0 +1 @@
gtest

29
srcpkgs/gtest/template Normal file
View File

@ -0,0 +1,29 @@
# Template build file for 'gtest'
pkgname=gtest
version=1.7.0
revision=1
build_style=cmake
short_desc="Google's framework for writing C++ tests"
maintainer="Enno Boland <eb@s01.de>"
license="MIT"
hostmakedepends="unzip cmake"
homepage="https://code.google.com/p/googletest"
distfiles="https://googletest.googlecode.com/files/${pkgname}-${version}.zip"
checksum=247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d
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
vmkdir usr/include/gtest/internal
vcopy include/gtest/*.h usr/include/gtest
vcopy include/gtest/internal/*.h usr/include/gtest/internal
}
gtest-devel_package() {
depends="gtest>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}