mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
itstool.org (#2372)
* itstool.org * + env ITSTOOL_SHARE * maybe * without PYTHON=
This commit is contained in:
parent
e8f8bbb0e4
commit
72a4db1dd2
1 changed files with 33 additions and 0 deletions
33
projects/itstool.org/package.yml
Normal file
33
projects/itstool.org/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
distributable:
|
||||
url: http://files.itstool.org/itstool/itstool-{{version}}.tar.bz2
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://itstool.org/download.html
|
||||
match: /itstool-\d+\.\d+\.\d+\.tar\.bz2/
|
||||
strip:
|
||||
- /^itstool-/
|
||||
- /\.tar\.bz2$/
|
||||
|
||||
dependencies:
|
||||
gnome.org/libxml2: '*'
|
||||
python.org: =3.11
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
|
||||
script:
|
||||
- ./configure $ARGS
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
- sed -i'' -e 's|#!/.* -s|#!/usr/bin/env python|g' {{prefix}}/bin/itstool
|
||||
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
|
||||
provides:
|
||||
- bin/itstool
|
||||
|
||||
test: itstool --version | grep {{version}}
|
Loading…
Reference in a new issue