From 95dd48bb2845ea9aa462ea7103d0fe329a9724f6 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Thu, 25 Jan 2024 22:43:10 +0200 Subject: [PATCH] new file: projects/uriparser.github.io/package.yml --- projects/uriparser.github.io/package.yml | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 projects/uriparser.github.io/package.yml diff --git a/projects/uriparser.github.io/package.yml b/projects/uriparser.github.io/package.yml new file mode 100644 index 00000000..da1f4b5a --- /dev/null +++ b/projects/uriparser.github.io/package.yml @@ -0,0 +1,31 @@ +distributable: + url: https://github.com/uriparser/uriparser/releases/download/uriparser-{{version}}/uriparser-{{version}}.tar.bz2 + strip-components: 1 + +versions: + github: uriparser/uriparser + strip: /^uriparser-/ + +build: + dependencies: + cmake.org: '*' + script: + - cmake -S . -B build $ARGS + - cmake --build build + - cmake --install build + env: + ARGS: + - -DCMAKE_INSTALL_PREFIX="{{prefix}} + - -DCMAKE_INSTALL_LIBDIR=lib + - -DCMAKE_BUILD_TYPE=Release + - -DCMAKE_FIND_FRAMEWORK=LAST + - -DCMAKE_VERBOSE_MAKEFILE=ON + - -Wno-dev + - -DBUILD_TESTING=OFF + - -DURIPARSER_BUILD_TESTS=OFF + - -DURIPARSER_BUILD_DOCS=OFF + +provides: + - bin/uriparse + +test: uriparse https://pkgx.dev/pkgs/pkgx.sh/brewkit/ | grep 'pathSeg' \ No newline at end of file