wok view itstool/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | 1c88796e4a70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="itstool"
4 VERSION="2.0.7"
5 CATEGORY="utilities"
6 SHORT_DESC="ITS-based XML translation tool."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://itstool.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://files.itstool.org/$PACKAGE/$TARBALL"
14 DEPENDS="libxml2-python python"
15 BUILD_DEPENDS="libxml2-python"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WEB_SITE}download.html 2>/dev/null | \
21 sed '/itstool-/!d;s|.tar.*||;s|.*itstool-||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
39 }