wok annotate gtest/receipt @ rev 23470
updated python-chardet (2.0.1 -> 3.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 14:25:27 2020 +0100 (2020-04-05) |
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 } |