From 4f55e484a06d6f47c37719a4617bed9783391b4b Mon Sep 17 00:00:00 2001 From: ArionThinker Date: Fri, 23 Jun 2023 15:42:16 +0300 Subject: [PATCH] new file: projects/github.com/mity/md4c/package.yml --- projects/github.com/mity/md4c/package.yml | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 projects/github.com/mity/md4c/package.yml diff --git a/projects/github.com/mity/md4c/package.yml b/projects/github.com/mity/md4c/package.yml new file mode 100644 index 00000000..39768b9e --- /dev/null +++ b/projects/github.com/mity/md4c/package.yml @@ -0,0 +1,30 @@ +distributable: + url: https://github.com/mity/md4c/archive/release-{{version}}.tar.gz + strip-components: 1 + +versions: + github: mity/md4c/tags + strip: /^release-/ + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + cmake.org: '*' + + script: + - cmake -S . -B build $ARGS + - cmake --build build + - cmake --install build + env: + ARGS: + - -DCMAKE_INSTALL_PREFIX={{prefix}} + - -DCMAKE_BUILD_TYPE=Release + - -DCMAKE_VERBOSE_MAKEFILE=ON + - -Wno-dev + - -DBUILD_TESTING=OFF + +provides: + - bin/md2html + +test: md2html --version | grep {{version}} \ No newline at end of file