freedesktop.org/cppunit (#1840)

* new file:   projects/freedesktop.org/cppunit/package.yml

* modified:   projects/freedesktop.org/cppunit/package.yml
This commit is contained in:
Andrew 2023-05-05 19:14:56 +03:00 committed by GitHub
parent 84b2025457
commit d9804ae957
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}