pantry/projects/gnu.org/source-highlight/package.yml

31 lines
668 B
YAML
Raw Normal View History

distributable:
url: https://ftp.gnu.org/gnu/src-highlite/source-highlight-{{version}}.tar.gz
strip-components: 1
versions:
url: https://ftp.gnu.org/gnu/src-highlite/
match: /source-highlight-\d+\.\d+\.\d+.tar.gz/
strip:
- /source-highlight-/
- /.tar.gz/
provides:
- bin/check-regexp
- bin/source-highlight
- bin/source-highlight-settings
dependencies:
boost.org: '*'
build:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
- --with-boost={{deps.boost.org.prefix}}
test: source-highlight --version | grep {{version}}