From d9804ae957d52f2c43773827aef377d1b09d6bcd Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Fri, 5 May 2023 19:14:56 +0300 Subject: [PATCH] freedesktop.org/cppunit (#1840) * new file: projects/freedesktop.org/cppunit/package.yml * modified: projects/freedesktop.org/cppunit/package.yml --- projects/freedesktop.org/cppunit/package.yml | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 projects/freedesktop.org/cppunit/package.yml diff --git a/projects/freedesktop.org/cppunit/package.yml b/projects/freedesktop.org/cppunit/package.yml new file mode 100644 index 00000000..5638b51b --- /dev/null +++ b/projects/freedesktop.org/cppunit/package.yml @@ -0,0 +1,31 @@ +distributable: + url: http://dev-www.libreoffice.org/src/cppunit-{{version}}.tar.gz + strip-components: 1 + +versions: + url: https://dev-www.libreoffice.org/src/cppunit/ + match: /cppunit-\d+\.\d+\.\d+.tar.gz/ + strip: + - /^cppunit-/ + - /\.tar\.gz$/ + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + script: | + ./configure $ARGS + make --jobs {{ hw.concurrency }} install + env: + ARGS: + - --prefix="{{prefix}}" + linux/aarch64: + ARGS: + - --build=aarch64-unknown-linux-gnu + +provides: + - bin/cppunit-config + - bin/DllPlugInTester + +test: + cppunit-config --version | grep {{version}} \ No newline at end of file