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

34 lines
698 B
YAML

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