wok-current diff gtest/receipt @ rev 19221
Up pcre (8.39); add pcre2 (10.21).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 18 19:48:35 2016 +0300 (2016-06-18) |
parents | |
children | 8dd8bab3f0ca |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gtest/receipt Sat Jun 18 19:48:35 2016 +0300 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gtest" 1.7 +VERSION="1.7.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Google's framework for writing C++ tests." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="other" 1.12 +TARBALL="$PACKAGE-$VERSION.zip" 1.13 +WEB_SITE="http://code.google.com/p/googletest/" 1.14 +WGET_URL="http://googletest.googlecode.com/files/$TARBALL" 1.15 + 1.16 +BUILD_DEPENDS="cmake" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + mkdir build && cd build 1.22 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. 1.23 + make 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/lib 1.30 + cp -a $src/include $fs/usr 1.31 + cp -a $src/build/*a $fs/usr/lib 1.32 +}