wok-next view gtest/receipt @ rev 20966
Micro-updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 10 11:49:32 2018 +0300 (2018-09-10) |
parents | fcbd6baa8d54 |
children | 92e0ca039f0d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtest"
4 VERSION="1.8.1"
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 }