wok-next view gtest/receipt @ rev 20593
Up gpm (1.20.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 16:28:35 2018 +0300 (2018-04-14) |
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 }