wok-current view xmlstarlet/receipt @ rev 25535

updated imlib2 and imlib2-dev 1.8.0 -> 1.10.0
author Hans-G?nter Theisgen
date Thu Mar 02 09:40:16 2023 +0100 (22 months ago)
parents cec9f8f5726d
children 5926178cd6fa
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="https://sourceforge.net/projects/xmlstar/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/xmlstar/$TARBALL"
13 DEPENDS="libxml2 libxslt zlib"
14 BUILD_DEPENDS="libxslt-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/xmlstar/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/files_name_h/!d;/xmlstarlet/!d;s|.*xmlstarlet/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS && make && make install
29 mv $install/usr/bin/xml $install/usr/bin/xmlstarlet
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files xmlstarlet
36 }