wok-current annotate gtest/receipt @ rev 20080
revert hexchat: does not work with 2.12.4 version like that
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Sep 27 17:35:06 2017 +0000 (2017-09-27) |
parents | |
children | 8dd8bab3f0ca |
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 } |