dev-cpp/mustache: add 4.1_p20211210

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-06-23 01:09:09 +02:00
parent 7cd8a81120
commit 7a6bc724c7
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
COMMIT="04277d5552c6e46bee41a946b7d175a660ea1b3d"
DESCRIPTION="Mustache implementation for modern C++"
HOMEPAGE="https://github.com/kainjow/Mustache"
SRC_URI="https://github.com/kainjow/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/Mustache-${COMMIT}"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64"
src_test() {
"${BUILD_DIR}"/tests/mustache-unit-tests || die "Tests failed!"
}
src_install() {
insinto /usr/include
doins mustache.hpp
}