mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
97933f2bf7
* new file: projects/gnu.org/source-highlight/package.yml * switch to version scraper --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
35 lines
748 B
YAML
35 lines
748 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:
|
|
tea.xyz/gx/cc: 'c99'
|
|
tea.xyz/gx/make: '*'
|
|
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}}
|