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

34 lines
698 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:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
- --with-boost={{deps.boost.org.prefix}}
test:
script:
source-highlight --version | grep {{version}}