wok-current annotate gtest/receipt @ rev 22064
updated twisted (13.2.0 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 24 17:19:52 2019 +0100 (2019-10-24) |
parents | 09b238284d9e |
children | b242302aecf9 |
rev | line source |
---|---|
pascal@18161 | 1 # SliTaz package receipt. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="gtest" |
pascal@18161 | 4 VERSION="1.7.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" |
pascal@18161 | 9 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@20672 | 10 WEB_SITE="https://github.com/google/googletest" |
pascal@18161 | 11 WGET_URL="http://googletest.googlecode.com/files/$TARBALL" |
pascal@18161 | 12 |
pascal@18161 | 13 BUILD_DEPENDS="cmake" |
pascal@18161 | 14 |
pascal@18161 | 15 # Rules to configure and make the package. |
pascal@18161 | 16 compile_rules() |
pascal@18161 | 17 { |
pascal@18161 | 18 mkdir build && cd build |
pascal@18161 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
pascal@18161 | 20 make |
pascal@18161 | 21 } |
pascal@18161 | 22 |
pascal@18161 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18161 | 24 genpkg_rules() |
pascal@18161 | 25 { |
pascal@18161 | 26 mkdir -p $fs/usr/lib |
pascal@18161 | 27 cp -a $src/include $fs/usr |
pascal@18161 | 28 cp -a $src/build/*a $fs/usr/lib |
pascal@18161 | 29 } |