wok view gtest/receipt @ rev 23297

updated perl-class-accessor (0.34 -> 0.51)
author Hans-G?nter Theisgen
date Sun Mar 29 16:31:27 2020 +0100 (2020-03-29)
parents b242302aecf9
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="gtest"
4 VERSION="1.10.0"
5 CATEGORY="development"
6 SHORT_DESC="Google's framework for writing C++ tests."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://github.com/google/googletest/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/release-$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="cmake gcc83"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
23 mkdir build &&
24 cd build &&
25 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
34 cp -a $src/googletest/include $fs/usr
35 cp -a $src/build/lib/*a $fs/usr/lib
36 }