wok-next view gtest/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 09b238284d9e |
children | 48b896290f12 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtest"
4 VERSION="1.8.0"
5 CATEGORY="development"
6 SHORT_DESC="Google's framework for writing C++ tests"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/google/googletest"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/google/googletest/archive/release-$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake python"
16 compile_rules() {
17 mkdir -p build
18 cd build
19 cmake \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DBUILD_SHARED_LIBS=ON \
22 -DCMAKE_SKIP_RPATH=ON \
23 .. &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 copy @std @dev
30 }