mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
new file: projects/freedesktop.org/uchardet/package.yml (#1760)
This commit is contained in:
parent
b781e6c0a0
commit
b8c6816cfb
1 changed files with 29 additions and 0 deletions
29
projects/freedesktop.org/uchardet/package.yml
Normal file
29
projects/freedesktop.org/uchardet/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
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:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
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}}
|
Loading…
Reference in a new issue