void-packages/srcpkgs/gmock/template

25 lines
664 B
Plaintext

# Template build file for 'gmock'
pkgname=gmock
version=1.7.0
revision=3
build_style=gnu-configure
short_desc="Google C++ Mocking Framework"
maintainer="Enno Boland <eb@s01.de>"
license="BSD"
hostmakedepends="unzip"
homepage="https://code.google.com/p/googlemock"
distfiles="https://googlemock.googlecode.com/files/${pkgname}-${version}.zip"
checksum=26fcbb5925b74ad5fc8c26b0495dfc96353f4d553492eb97e85a8a6d2f43095b
configure_args="--enable-external-gtest"
gmock-devel_package() {
depends="gmock>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}