pantry/projects/freedesktop.org/cppunit/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

29 lines
592 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:
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}}