wok-6.x annotate xmlstarlet/receipt @ rev 25438
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 11:12:31 2022 +0000 (23 months ago) |
parents | c6ff64491e71 |
children | 7dd01dedad38 |
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" |
al@19299 | 9 WEB_SITE="http://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 } |