kiwix-tools and dependencies (#7491)

This commit is contained in:
Schrijvers Luc
2022-12-03 08:28:27 +01:00
committed by GitHub
parent 50ef5a86d9
commit 7d18b6061f
7 changed files with 400 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
Boost Software License - Version 1.0
Copyright 2015-2020 Kevin Wojniak
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,36 @@
SUMMARY="Implementation for modern C++"
DESCRIPTION="* Header only
* Zero dependencies
* Templated string type for compatibility with any STL-like string (std::string, std::wstring, etc)."
HOMEPAGE="https://github.com/kainjow/Mustache"
COPYRIGHT="2015-2020 Kevin Wojniak"
LICENSE="Boost v1.0"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="acd66359feb4318b421f9574cfc5a511133a77d916d0b13c7caa3783c0bfe167"
SOURCE_DIR="Mustache-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
mustache$secondaryArchSuffix = $portVersion
devel:mustache$secondaryArchSuffix = $portVersion
"
TEST_REQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:make
cmd:gcc$secondaryArchSuffix
"
INSTALL()
{
mkdir -p $includeDir
cp mustache.hpp $includeDir
}
TEST()
{
make $jobArgs
}