wok annotate itstool/receipt @ rev 25164

updated python-antlr (3.5.2 -> 3.5.3)
author Hans-G?nter Theisgen
date Fri Jul 01 10:50:21 2022 +0100 (23 months ago)
parents 8780aef72301
children b81ceff0b056
rev   line source
pascal@13533 1 # SliTaz package receipt.
pascal@13533 2
pascal@13533 3 PACKAGE="itstool"
Hans-G?nter@24681 4 VERSION="2.0.7"
pascal@13533 5 CATEGORY="utilities"
Hans-G?nter@21067 6 SHORT_DESC="ITS-based XML translation tool."
pascal@13533 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15023 8 LICENSE="GPL3"
pascal@24895 9 WEB_SITE="https://itstool.org/"
Hans-G?nter@21067 10
pascal@13533 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@24994 12 WGET_URL="https://files.itstool.org/$PACKAGE/$TARBALL"
pascal@13533 13
Hans-G?nter@22964 14 DEPENDS="libxml2-python python"
Hans-G?nter@21067 15 BUILD_DEPENDS="libxml2-python"
pascal@15023 16
pascal@24445 17 # What is the latest version available today?
pascal@24445 18 current_version()
pascal@24445 19 {
pascal@24445 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 22 }
pascal@24445 23
pascal@13533 24 # Rules to configure and make the package.
pascal@13533 25 compile_rules()
pascal@13533 26 {
pascal@13533 27 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22964 28 make &&
Hans-G?nter@21067 29 make install
pascal@13533 30 }
pascal@13533 31
pascal@13533 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13533 33 genpkg_rules()
pascal@13533 34 {
pascal@13533 35 mkdir -p $fs/usr/share
Hans-G?nter@21067 36
Hans-G?nter@21067 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21067 38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@13533 39 }