wok-current view gtest/receipt @ rev 25573

updated asterisk and asterisk-dev (11.1.1 -> 20.2.1)
author Hans-G?nter Theisgen
date Sat May 13 16:27:48 2023 +0100 (19 months ago)
parents ac8ca9758df1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtest"
4 VERSION="1.11.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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/release.*tar.gz/!d;s|.*/release-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CC=gcc-83
27 export CXX=g++-83
29 mkdir _build &&
30 cd _build &&
31 cmake .. \
32 -D CMAKE_INSTALL_PREFIX=/usr &&
33 make
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $src/googletest/include $fs/usr
42 cp -a $src/_build/lib/*a $fs/usr/lib
43 }