mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Update mimalloc to 1.8.2 * Update wayland-info to 1.2.0 * Update libgnome-games-support to 1.8.2 * Update gnome-nibbles to 3.8.3
35 lines
1.1 KiB
Ruby
35 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Itstool < Package
|
|
description 'Translate XML with PO files using W3C Internationalization Tag Set rules'
|
|
homepage 'http://itstool.org/'
|
|
@_ver = '2.0.7'
|
|
version "#{@_ver}-py3.12"
|
|
license 'GPL-3+'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/itstool/itstool.git'
|
|
git_hashtag @_ver
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '06017558272345296c481a9ec3efd97a4011a8440aaa5768635920bda546cc1d',
|
|
armv7l: '06017558272345296c481a9ec3efd97a4011a8440aaa5768635920bda546cc1d',
|
|
i686: '72f2044e98d74fc43e83f5905314f5a7149da152868d917c8eada261142610b1',
|
|
x86_64: '57c747287878cb1357f04f076e2884b332251f882ddd9250d8688a76d624c090'
|
|
})
|
|
|
|
depends_on 'py3_libxml2'
|
|
depends_on 'py3_setuptools' => :build
|
|
depends_on 'python3' => :build
|
|
|
|
def self.build
|
|
system 'env NOCONFIGURE=1 ./autogen.sh'
|
|
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS}"
|
|
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
|
end
|
|
|
|
def self.install
|
|
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS_NO_SVEM}"
|
|
end
|
|
end
|