forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST Catch-1.5.6.tar.gz 312250 SHA256 1749521eb5c4b6e81128f60d66b81b8328e76050599a497dc8b51a718d03faca SHA512 da4f9c300bc7d9de66be4e0b013d4c5719ee6e112c1b949963fecf55d89d75605bad16d4763ebb4dbaee51dc8c85d2aeb8e7826388204f9d8057233231ff7b9a WHIRLPOOL 38ffdf58959ccb5201621eb4c16b6415b7a892803bc9bdcc134e7f61d82b285b9dfea1f2cf55529c72e0f96dc32696646f0b2d03e8532b03f44de28c3016c7d6 | ||
DIST Catch-1.5.7.tar.gz 312824 SHA256 9acabf466e64ef2d477d4ce8d16610db3556a58b150440025fb1b25c3fd6a85b SHA512 724e85fbcb1a5ff8e98ef04932f7c60f43c0deaf4e41e4790cb7c0d9ead7b2e9068c801b165c094d68373b906c9d2d09de269bd7065dbd0136ecbb18ced4ccff WHIRLPOOL b0ce83cc75bbe40f3531c898fc273101a9992f5b7b43b9a483bf694b7c2fb079808f4330795fa1ae8bb5052fd55feb656245fc503f43217b42cf6239b620b167 | ||
DIST Catch-1.5.8.tar.gz 312892 SHA256 08761b1930b37118b568838fd40eb6d113063c35ca8a37128298edd5559403a7 SHA512 18553b877ea6cbb48255f48bf025efc02dbc26f7895bf8f68391bc3417ae737ffab55e6b05c9c91c3d501ff581276cfd7678510db3333c5aff884d99bc38fb93 WHIRLPOOL f3c030e2a5b4beefdd00eee75a55052a92f07948cd8ce29da46cd83cd0a61991ca6cbf0ccd2ff89beee701a136b082a043a4dab9c140fcd0095905f518d99b6d | ||
DIST catch-1.5.0.tar.gz 311787 SHA256 f694634bc56422f28d61052eedc29d43ea20e60a1726eda3ff9acc8fdfca3c08 SHA512 d7011cdfe6eca86aa081b5da371665be8687bcbb41f3702c3075bf01f73e1d2e00894a0917e6437a8735e730ff287a06e189ce94ea00e583ab7282065f25166d WHIRLPOOL 90d7d6d2f4b06169224385e0f2ec0de1312c454a0c7a2a14155f68fe30424e527cde91e5fb4ff9bd441fa846a7caabca023e591ce5837f6c65f0bbe106166401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
inherit cmake-utils | ||
|
||
DESCRIPTION="Modern C++ header-only framework for unit-tests" | ||
HOMEPAGE="https://github.com/philsquared/Catch" | ||
SRC_URI="https://github.com/philsquared/Catch/archive/v${PV}.tar.gz -> ${P^}.tar.gz" | ||
|
||
LICENSE="Boost-1.0" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
S=${WORKDIR}/${P^} | ||
CMAKE_USE_DIR=${S}/projects/CMake | ||
|
||
# CMake is only used to build & run tests, so override phases | ||
src_configure() { :; } | ||
src_compile() { :; } | ||
|
||
src_test() { | ||
cmake-utils_src_configure | ||
cmake-utils_src_compile | ||
cmake-utils_src_test | ||
} | ||
|
||
src_install() { | ||
# same location as used in fedora | ||
insinto /usr/include/catch | ||
doins -r include/. | ||
dodoc -r docs/. | ||
} |