wok-next annotate gtest/receipt @ rev 19424
Up palemoon (26.5.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Sep 30 21:17:41 2016 +0200 (2016-09-30) |
parents | |
children | fcbd6baa8d54 |
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@18161 | 10 WEB_SITE="http://code.google.com/p/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 } |