wok annotate gtest/receipt @ rev 23277
updated paramiko (2.4.2 -> 2.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 28 16:39:40 2020 +0100 (2020-03-28) |
parents | b242302aecf9 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@18161 | 1 # SliTaz package receipt. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="gtest" |
Hans-G?nter@22891 | 4 VERSION="1.10.0" |
pascal@18161 | 5 CATEGORY="development" |
pascal@18161 | 6 SHORT_DESC="Google's framework for writing C++ tests." |
pascal@18161 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18161 | 8 LICENSE="other" |
Hans-G?nter@22892 | 9 WEB_SITE="https://github.com/google/googletest/" |
pascal@18161 | 10 |
Hans-G?nter@22891 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22891 | 12 WGET_URL="${WEB_SITE}archive/release-$VERSION.tar.gz" |
Hans-G?nter@22891 | 13 |
Hans-G?nter@22891 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@22891 | 15 BUILD_DEPENDS="cmake gcc83" |
pascal@18161 | 16 |
pascal@18161 | 17 # Rules to configure and make the package. |
pascal@18161 | 18 compile_rules() |
pascal@18161 | 19 { |
Hans-G?nter@22891 | 20 export CC=gcc-83 |
Hans-G?nter@22891 | 21 export CXX=g++-83 |
Hans-G?nter@22891 | 22 |
Hans-G?nter@22891 | 23 mkdir build && |
Hans-G?nter@22891 | 24 cd build && |
pascal@18161 | 25 cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
pascal@18161 | 26 make |
pascal@18161 | 27 } |
pascal@18161 | 28 |
pascal@18161 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18161 | 30 genpkg_rules() |
pascal@18161 | 31 { |
pascal@18161 | 32 mkdir -p $fs/usr/lib |
Hans-G?nter@22891 | 33 |
Hans-G?nter@22891 | 34 cp -a $src/googletest/include $fs/usr |
Hans-G?nter@22891 | 35 cp -a $src/build/lib/*a $fs/usr/lib |
pascal@18161 | 36 } |