wok-current view gtest/receipt @ rev 23094
updated libpri and libpri-dev (1.4.11.1 -> 1.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 11 17:02:47 2020 +0100 (2020-03-11) |
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 }