wok annotate xmlstarlet/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents ad86373a4a8c
children cec9f8f5726d
rev   line source
al@19299 1 # SliTaz package receipt.
al@19299 2
al@19299 3 PACKAGE="xmlstarlet"
al@19299 4 VERSION="1.6.1"
al@19299 5 CATEGORY="development"
al@19299 6 SHORT_DESC="Command Line XML Toolkit"
al@19299 7 MAINTAINER="al.bobylev@gmail.com"
al@19299 8 LICENSE="MIT"
pascal@25460 9 WEB_SITE="https://xmlstar.sourceforge.net/"
al@19299 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19299 11 WGET_URL="$SF_MIRROR/xmlstar/$TARBALL"
al@19299 12
al@19299 13 DEPENDS="libxml2 libxslt zlib"
al@19299 14 BUILD_DEPENDS="libxslt-dev"
al@19299 15
pascal@24108 16 current_version()
pascal@24108 17 {
pascal@24108 18 wget -O - https://sourceforge.net/projects/xmlstar/files/ 2>/dev/null | \
pascal@24108 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24108 20 sed '/files_name_h/!d;/xmlstarlet/!d;s|.*xmlstarlet/||;s|/.*||;q'
pascal@24108 21 }
pascal@24108 22
al@19299 23 # Rules to configure and make the package.
al@19299 24 compile_rules()
al@19299 25 {
al@19299 26 ./configure $CONFIGURE_ARGS && make && make install
al@19299 27
al@19299 28 mv $install/usr/bin/xml $install/usr/bin/xmlstarlet
al@19299 29 }
al@19299 30
al@19299 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19299 32 genpkg_rules()
al@19299 33 {
al@19299 34 cook_copy_files xmlstarlet
al@19299 35 }