wok view itstool/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (19 months ago)
parents 8780aef72301
children b81ceff0b056
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 - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 }