guru/dev-cpp/vectorwrapper/vectorwrapper-1.1.2.ebuild
Michele Santullo 155679cf59
dev-cpp/vectorwrapper: update to v1.1.2
Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Michele Santullo <m.santullo@posteo.net>
2021-03-18 16:29:56 +01:00

37 lines
776 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A template vector wrapper class for C++"
HOMEPAGE="https://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="http://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper.git"
inherit git-r3
else
SRC_URI="https://alarmpi.no-ip.org/gitan/King_DuckZ/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
S="${WORKDIR}"/"${PN}"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
BDEPEND=""
src_configure() {
local emesonargs=(
$(meson_use test build_testing)
)
meson_src_configure
}