aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/mustache/Manifest1
-rw-r--r--dev-cpp/mustache/mustache-4.1_p20211210.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-cpp/mustache/Manifest b/dev-cpp/mustache/Manifest
index 5302e8881..9ac5f7573 100644
--- a/dev-cpp/mustache/Manifest
+++ b/dev-cpp/mustache/Manifest
@@ -1 +1,2 @@
DIST mustache-4.1.tar.gz 98905 BLAKE2B 1acf265ebc83881ac86c0db0a43c8a0984f2fc0bf70b4c946528e97a49feab7d1945272f3ed8e67087998db2594227776950319d5923cbd2aabafe672ed65ea3 SHA512 609c876fc085d1331355ec1f0396e588edf1fb3ea6765abcd06043cc5f7288f015d6bb7fdeb560df78aab54ae8d97e934375de577b944a09c9ae93f9915e7aff
+DIST mustache-4.1_p20211210.gh.tar.gz 146337 BLAKE2B 5fac7d2ee4ed0e2e8ab80861a2d809287b877786668e87c594bbc5d9ff1b562f98e39bcb89d6fd14374d25ccfa415b38dadb68bf22dd710f37396298b05b4e13 SHA512 5251393f5d31bee04fa57e56fff9c232be35e7b930ca68d9bdd9605a3fda81edb43dc7c7a996d09b854cb50fbcb5b93820ac994331118c53575e75d14ba1f88b
diff --git a/dev-cpp/mustache/mustache-4.1_p20211210.ebuild b/dev-cpp/mustache/mustache-4.1_p20211210.ebuild
new file mode 100644
index 000000000..ee71cb14a
--- /dev/null
+++ b/dev-cpp/mustache/mustache-4.1_p20211210.ebuild
@@ -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
+}