wok view gtest/receipt @ rev 22220
updated xorg-libXp and xorg-libXp-dev (1.0.2 -> 1.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 16:54:31 2019 +0100 (2019-11-11) |
parents | 09b238284d9e |
children | b242302aecf9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtest"
4 VERSION="1.7.0"
5 CATEGORY="development"
6 SHORT_DESC="Google's framework for writing C++ tests."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="https://github.com/google/googletest"
11 WGET_URL="http://googletest.googlecode.com/files/$TARBALL"
13 BUILD_DEPENDS="cmake"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir build && cd build
19 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $src/include $fs/usr
28 cp -a $src/build/*a $fs/usr/lib
29 }