wok diff gtest/receipt @ rev 22891
updated gtest (1.7.0 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 23 08:12:43 2020 +0100 (2020-02-23) |
parents | 8dd8bab3f0ca |
children | 6a74e77788e6 |
line diff
1.1 --- a/gtest/receipt Thu Jan 24 14:51:04 2019 +0100 1.2 +++ b/gtest/receipt Sun Feb 23 08:12:43 2020 +0100 1.3 @@ -1,21 +1,27 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gtest" 1.7 -VERSION="1.7.0" 1.8 +VERSION="1.10.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Google's framework for writing C++ tests." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="other" 1.13 -TARBALL="$PACKAGE-$VERSION.zip" 1.14 WEB_SITE="https://github.com/google/googletest" 1.15 -WGET_URL="http://googletest.googlecode.com/files/$TARBALL" 1.16 1.17 -BUILD_DEPENDS="cmake" 1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 +WGET_URL="${WEB_SITE}archive/release-$VERSION.tar.gz" 1.20 + 1.21 +DEPENDS="gcc83-lib-base" 1.22 +BUILD_DEPENDS="cmake gcc83" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - mkdir build && cd build 1.28 + export CC=gcc-83 1.29 + export CXX=g++-83 1.30 + 1.31 + mkdir build && 1.32 + cd build && 1.33 cmake -DCMAKE_INSTALL_PREFIX=/usr .. 1.34 make 1.35 } 1.36 @@ -24,6 +30,7 @@ 1.37 genpkg_rules() 1.38 { 1.39 mkdir -p $fs/usr/lib 1.40 - cp -a $src/include $fs/usr 1.41 - cp -a $src/build/*a $fs/usr/lib 1.42 + 1.43 + cp -a $src/googletest/include $fs/usr 1.44 + cp -a $src/build/lib/*a $fs/usr/lib 1.45 }