wok-next diff gtest/receipt @ rev 18172
Up: cookutils(746): cook pkgdb: make sure to get "mirrors" and "extra.list"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 30 14:28:19 2015 +0300 (2015-06-30) |
parents | |
children | fcbd6baa8d54 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gtest/receipt Tue Jun 30 14:28:19 2015 +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 +}