# HG changeset patch # User Hans-G?nter Theisgen # Date 1594051195 -3600 # Node ID 92e0ca039f0dc69b19e475e4a6a50375155f8b16 # Parent d3383011e739662f910b2321aed6304602413d75 updated gtest (1.8.1 -> 1.10.0) diff -r d3383011e739 -r 92e0ca039f0d gtest/receipt --- a/gtest/receipt Mon Jul 06 16:25:56 2020 +0100 +++ b/gtest/receipt Mon Jul 06 16:59:55 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="gtest" -VERSION="1.8.1" +VERSION="1.10.0" CATEGORY="development" SHORT_DESC="Google's framework for writing C++ tests" MAINTAINER="pascal.bellard@slitaz.org" @@ -13,18 +13,19 @@ BUILD_DEPENDS="cmake python" -compile_rules() { +compile_rules() +{ mkdir -p build cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=ON \ - -DCMAKE_SKIP_RPATH=ON \ - .. && + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_SKIP_RPATH=ON && make && make install } -genpkg_rules() { +genpkg_rules() +{ copy @std @dev }