mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
dev-libs/PEGTL: Initial recipe (#2127)
This commit is contained in:
44
dev-libs/pegtl/pegtl-2.3.3.recipe
Normal file
44
dev-libs/pegtl/pegtl-2.3.3.recipe
Normal file
@@ -0,0 +1,44 @@
|
||||
SUMMARY="The Parsing Expression Grammar Template Library"
|
||||
DESCRIPTION="The Parsing Expression Grammar Template Library (PEGTL) is a \
|
||||
zero-dependency C++11 header-only parser combinator library for creating \
|
||||
parsers according to a Parsing Expression Grammar (PEG)."
|
||||
HOMEPAGE="https://github.com/taocpp/PEGTL"
|
||||
COPYRIGHT="2014-2018 Dr. Colin Hirsch and Daniel Frey"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a734e4e7a913e1243bc066a50a8448c241b036e017a26c6d00d366c11ac7dd05"
|
||||
SOURCE_FILENAME="PEGTL-$portVersion.tar.gz"
|
||||
SOURCE_DIR="PEGTL-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
pegtl = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++
|
||||
cmd:make
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -d $includeDir $developDocDir/examples
|
||||
cp -r include/tao/* $includeDir
|
||||
install -t $developDocDir README.md
|
||||
install -t $developDocDir/examples src/example/pegtl/*
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cmake .
|
||||
make $jobArgs
|
||||
}
|
||||
Reference in New Issue
Block a user