diff options
| author | Jan Henke <Jan.Henke@taujhe.de> | 2018-09-29 19:08:58 +0200 |
|---|---|---|
| committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2018-10-11 18:30:33 -0700 |
| commit | 336d88ac3348e5c617beae2776db5f001133b502 (patch) | |
| tree | 19b05c37d6a9afaca5cca323517984bd56677391 /dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild | |
| parent | cc82e1391ac3a97a8d72e9822344c150fce51d61 (diff) | |
| download | gentoo-336d88ac3348e5c617beae2776db5f001133b502.tar.gz gentoo-336d88ac3348e5c617beae2776db5f001133b502.tar.bz2 gentoo-336d88ac3348e5c617beae2776db5f001133b502.zip | |
dev-cpp/ms-gsl: Version bump to 2.0.0
Closes: https://bugs.gentoo.org/666410
Closes: https://github.com/gentoo/gentoo/pull/10013
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Jan Henke <Jan.Henke@taujhe.de>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild')
| -rw-r--r-- | dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild new file mode 100644 index 000000000000..c3af23471bc5 --- /dev/null +++ b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Guideline Support Library implementation by Microsoft" +HOMEPAGE="https://github.com/Microsoft/GSL" +SRC_URI="https://github.com/Microsoft/GSL/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/GSL-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# header only library +RDEPEND="" +DEPEND="test? ( ~dev-cpp/catch-1.11.0 )" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.0-use_system_catch-636828.patch" + "${FILESDIR}/${PN}-1.0.0-disable_Werror-644042.patch" +) + +src_configure() { + local mycmakeargs=( + -DGSL_TEST=$(usex test) + ) + use test && mycmakeargs+=( -DFORCE_SYSTEM_CATCH=ON ) + cmake-utils_src_configure +} |
