wok-next view gtest/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents 09b238284d9e
children 48b896290f12
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtest"
4 VERSION="1.8.0"
5 CATEGORY="development"
6 SHORT_DESC="Google's framework for writing C++ tests"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/google/googletest"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/google/googletest/archive/release-$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake python"
16 compile_rules() {
17 mkdir -p build
18 cd build
19 cmake \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DBUILD_SHARED_LIBS=ON \
22 -DCMAKE_SKIP_RPATH=ON \
23 .. &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 copy @std @dev
30 }