From 887ee7c0b1f394bf9ce426d455f4a40e97fbbe95 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Sat, 29 Apr 2023 00:40:01 +0300 Subject: [PATCH] github.com/adah1972/libunibreak (#1730) * new file: projects/github.com/adah1972/libunibreak/package.yml * github release versions --------- Co-authored-by: Jacob Heider --- .../adah1972/libunibreak/package.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 projects/github.com/adah1972/libunibreak/package.yml diff --git a/projects/github.com/adah1972/libunibreak/package.yml b/projects/github.com/adah1972/libunibreak/package.yml new file mode 100644 index 00000000..d27ac373 --- /dev/null +++ b/projects/github.com/adah1972/libunibreak/package.yml @@ -0,0 +1,25 @@ +distributable: + url: https://github.com/adah1972/libunibreak/releases/download/libunibreak_{{version.major}}_{{version.minor}}/libunibreak-{{version.marketing}}.tar.gz + strip-components: 1 + +versions: + github: adah1972/libunibreak/releases + strip: /^libunibreak / + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + script: | + ./configure $ARGS + make --jobs {{ hw.concurrency }} install + env: + ARGS: + - --prefix="{{prefix}}" + - --disable-silent-rules + +test: + dependencies: + freedesktop.org/pkg-config: '*' + script: + pkg-config --modversion libunibreak | grep {{version.marketing}}