wok-current view itstool/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 8780aef72301 |
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 - ${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 }