wok-next annotate gtest/receipt @ rev 20593
Up gpm (1.20.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 16:28:35 2018 +0300 (2018-04-14) |
parents | 09b238284d9e |
children | 48b896290f12 |
rev | line source |
---|---|
al@20224 | 1 # SliTaz package receipt v2. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="gtest" |
al@20224 | 4 VERSION="1.8.0" |
pascal@18161 | 5 CATEGORY="development" |
al@20224 | 6 SHORT_DESC="Google's framework for writing C++ tests" |
pascal@18161 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
al@20224 | 8 LICENSE="BSD" |
al@20224 | 9 WEB_SITE="https://github.com/google/googletest" |
pascal@18161 | 10 |
al@20224 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20224 | 12 WGET_URL="https://github.com/google/googletest/archive/release-$VERSION.tar.gz" |
pascal@18161 | 13 |
al@20224 | 14 BUILD_DEPENDS="cmake python" |
al@20224 | 15 |
al@20224 | 16 compile_rules() { |
al@20224 | 17 mkdir -p build |
al@20224 | 18 cd build |
al@20224 | 19 cmake \ |
al@20224 | 20 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20224 | 21 -DBUILD_SHARED_LIBS=ON \ |
al@20224 | 22 -DCMAKE_SKIP_RPATH=ON \ |
al@20224 | 23 .. && |
al@20224 | 24 make && |
al@20224 | 25 make install |
pascal@18161 | 26 } |
pascal@18161 | 27 |
al@20224 | 28 genpkg_rules() { |
al@20224 | 29 copy @std @dev |
pascal@18161 | 30 } |