mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
md4c, bump version, cleanup (#10557)
This commit is contained in:
@@ -1,21 +1,25 @@
|
||||
SUMMARY="A C Markdown parser"
|
||||
DESCRIPTION="MD4C is Markdown parser implementation in C, with the following features:
|
||||
* Compliance: Generally, MD4C aims to be compliant to the latest version of CommonMark specification. Currently, we are fully compliant to CommonMark 0.30.
|
||||
DESCRIPTION="MD4C is a Markdown parser implementation in C, with the following features:
|
||||
* Compliance: Generally, MD4C aims to be compliant to the latest version of CommonMark \
|
||||
specification. Currently, we are fully compliant to CommonMark 0.30.
|
||||
* Extensions: MD4C supports some commonly requested and accepted extensions.
|
||||
* Performance: MD4C is very fast.
|
||||
* Compactness: MD4C parser is implemented in one source file and one header file. There are no dependencies other than standard C library.
|
||||
* Embedding: MD4C parser is easy to reuse in other projects, its API is very straightforward: There is actually just one function, md_parse().
|
||||
* Push model: MD4C parses the complete document and calls few callback functions provided by the application to inform it about a start/end of every block, a start/end of every span, and with any textual contents.
|
||||
* Compactness: MD4C parser is implemented in one source file and one header file. There are no \
|
||||
dependencies other than standard C library.
|
||||
* Embedding: MD4C parser is easy to reuse in other projects, its API is very straightforward: \
|
||||
There is actually just one function, md_parse().
|
||||
* Push model: MD4C parses the complete document and calls few callback functions provided by the \
|
||||
application to inform it about a start/end of every block, a start/end of every span, and with \
|
||||
any textual contents.
|
||||
* Portability: MD4C builds and works on Windows and POSIX-compliant OSes.
|
||||
* Encoding: MD4C by default expects UTF-8 encoding of the input document.
|
||||
* Permissive license: MD4C is available under the MIT license.
|
||||
"
|
||||
* Permissive license: MD4C is available under the MIT license."
|
||||
HOMEPAGE="https://github.com/mity/md4c/"
|
||||
COPYRIGHT="2016-2021 Martin Mitáš"
|
||||
COPYRIGHT="2016-2024 Martin Mitáš"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/archive/release-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4a457df853425b6bb6e3457aa1d1a13bccec587a04c38c622b1013a0da41439f"
|
||||
CHECKSUM_SHA256="55d0111d48fb11883aaee91465e642b8b640775a4d6993c2d0e7a8092758ef21"
|
||||
SOURCE_DIR="md4c-release-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -65,7 +69,8 @@ TEST_REQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build -S . $cmakeDirArgs -DCMAKE_BUILD_TYPE=Release \
|
||||
cmake -B build -S . $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_BINDIR=$commandBinDir
|
||||
make -C build $jobArgs
|
||||
}
|
||||
@@ -74,7 +79,9 @@ INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLibs libmd4c libmd4c-html
|
||||
prepareInstalledDevelLibs \
|
||||
libmd4c \
|
||||
libmd4c-html
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
Reference in New Issue
Block a user