pantry/projects/freedesktop.org/cppunit/package.yml
Andrew d9804ae957
freedesktop.org/cppunit (#1840)
* new file:   projects/freedesktop.org/cppunit/package.yml

* modified:   projects/freedesktop.org/cppunit/package.yml
2023-05-05 12:14:56 -04:00

31 lines
640 B
YAML

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