mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
27 lines
No EOL
571 B
YAML
27 lines
No EOL
571 B
YAML
distributable:
|
|
url: https://www.freedesktop.org/software/uchardet/releases/uchardet-{{version}}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://www.freedesktop.org/software/uchardet/releases/
|
|
match: /uchardet-\d+\.\d+\.\d+.tar.xz/
|
|
strip:
|
|
- /^uchardet-/
|
|
- /\.tar.xz/
|
|
|
|
build:
|
|
dependencies:
|
|
cmake.org: '*'
|
|
script: |
|
|
cmake $ARGS
|
|
make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
provides:
|
|
- bin/uchardet
|
|
|
|
test:
|
|
uchardet --version | grep {{version}} |