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