wok-next annotate gtest/receipt @ rev 20966

Micro-updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Sep 10 11:49:32 2018 +0300 (2018-09-10)
parents fcbd6baa8d54
children 92e0ca039f0d
rev   line source
al@20224 1 # SliTaz package receipt v2.
pascal@18161 2
pascal@18161 3 PACKAGE="gtest"
al@20966 4 VERSION="1.8.1"
pascal@18161 5 CATEGORY="development"
al@20224 6 SHORT_DESC="Google's framework for writing C++ tests"
pascal@18161 7 MAINTAINER="pascal.bellard@slitaz.org"
al@20224 8 LICENSE="BSD"
al@20224 9 WEB_SITE="https://github.com/google/googletest"
pascal@18161 10
al@20224 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20224 12 WGET_URL="https://github.com/google/googletest/archive/release-$VERSION.tar.gz"
pascal@18161 13
al@20224 14 BUILD_DEPENDS="cmake python"
al@20224 15
al@20224 16 compile_rules() {
al@20224 17 mkdir -p build
al@20224 18 cd build
al@20224 19 cmake \
al@20224 20 -DCMAKE_INSTALL_PREFIX=/usr \
al@20224 21 -DBUILD_SHARED_LIBS=ON \
al@20224 22 -DCMAKE_SKIP_RPATH=ON \
al@20224 23 .. &&
al@20224 24 make &&
al@20224 25 make install
pascal@18161 26 }
pascal@18161 27
al@20224 28 genpkg_rules() {
al@20224 29 copy @std @dev
pascal@18161 30 }