wok-current annotate xmlstarlet/receipt @ rev 25627
Patch sundown to use new gcc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 19:37:09 2023 +0000 (16 months ago) |
parents | cec9f8f5726d |
children | 5926178cd6fa |
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@25465 | 9 WEB_SITE="https://sourceforge.net/projects/xmlstar/" |
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@25461 | 16 # What is the latest version available today? |
pascal@24108 | 17 current_version() |
pascal@24108 | 18 { |
pascal@24108 | 19 wget -O - https://sourceforge.net/projects/xmlstar/files/ 2>/dev/null | \ |
pascal@24108 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24108 | 21 sed '/files_name_h/!d;/xmlstarlet/!d;s|.*xmlstarlet/||;s|/.*||;q' |
pascal@24108 | 22 } |
pascal@24108 | 23 |
al@19299 | 24 # Rules to configure and make the package. |
al@19299 | 25 compile_rules() |
al@19299 | 26 { |
al@19299 | 27 ./configure $CONFIGURE_ARGS && make && make install |
al@19299 | 28 |
al@19299 | 29 mv $install/usr/bin/xml $install/usr/bin/xmlstarlet |
al@19299 | 30 } |
al@19299 | 31 |
al@19299 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19299 | 33 genpkg_rules() |
al@19299 | 34 { |
al@19299 | 35 cook_copy_files xmlstarlet |
al@19299 | 36 } |