28 lines
732 B
Bash
28 lines
732 B
Bash
# Template file for 'gtest'
|
|
pkgname=gtest
|
|
version=1.11.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON"
|
|
hostmakedepends="unzip"
|
|
short_desc="Google's framework for writing C++ tests"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/google/googletest"
|
|
distfiles="https://github.com/google/googletest/archive/release-${version}.tar.gz"
|
|
checksum=b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
gtest-devel_package() {
|
|
depends="gtest>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|