wok-6.x view xmlstarlet/receipt @ rev 24718

updated libarchive and libarchive-dev (3.4.2 -> 3.6.0)
author Hans-G?nter Theisgen
date Tue Mar 15 07:41:02 2022 +0100 (2022-03-15)
parents c6ff64491e71
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="xmlstarlet"
4 VERSION="1.6.1"
5 CATEGORY="development"
6 SHORT_DESC="Command Line XML Toolkit"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://xmlstar.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/xmlstar/$TARBALL"
13 DEPENDS="libxml2 libxslt zlib"
14 BUILD_DEPENDS="libxslt-dev"
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/xmlstar/files/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/files_name_h/!d;/xmlstarlet/!d;s|.*xmlstarlet/||;s|/.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS && make && make install
28 mv $install/usr/bin/xml $install/usr/bin/xmlstarlet
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files xmlstarlet
35 }