dev-cpp/gsl-lite - 1.1.0 (guru)

Search

Install

Install this version:

emerge -a =dev-cpp/gsl-lite-1.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/gsl-lite-1.1.0

Or alternatively:

emerge --autounmask-write -a =dev-cpp/gsl-lite-1.1.0

Package Information

Description:
C++ Guideline Support Library implementation
Homepage:
https://github.com/gsl-lite/gsl-lite
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.1.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="C++ Guideline Support Library implementation"
HOMEPAGE="https://github.com/gsl-lite/gsl-lite"
SRC_URI="https://github.com/gsl-lite/gsl-lite/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

# header only library

src_configure() {
	local mycmakeargs=(
		-DGSL_LITE_OPT_BUILD_TESTS=$(usex test)
	)
	cmake_src_configure

	sed -i -e 's/"-*Werror"//g' test/MakeTestTarget.cmake || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-cpp/gsl-lite | euse -E <flag> -p dev-cpp/gsl-lite | euse -D <flag> -p dev-cpp/gsl-lite

Global/Standard Flags

Inherited Eclasses

Manifest for 1.1.0

Type File Size Source URLs
DIST gsl-lite-1.1.0.tar.gz 168786 bytes https://github.com/gsl-lite/gsl-lite/archive/v1.1.0.tar.gz