wok-6.x annotate lxtask/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents d8d2e9c83bae
children
rev   line source
pankso@705 1 # SliTaz package receipt.
pankso@705 2
pankso@705 3 PACKAGE="lxtask"
Hans-G?nter@24871 4 VERSION="0.1.10"
pankso@705 5 CATEGORY="system-tools"
Hans-G?nter@23153 6 TAGS="LXDE"
Hans-G?nter@23153 7 SHORT_DESC="LXDE task manager."
pankso@705 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
pascal@25087 10 WEB_SITE="https://www.lxde.org/"
Hans-G?nter@23153 11
al@17988 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@705 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
pankso@705 14
Hans-G?nter@24871 15 SUGGESTED="lxtask-lang"
pascal@15000 16 DEPENDS="gtk+ xorg-libXdamage"
pankso@16261 17 BUILD_DEPENDS="gtk+-dev xorg-libXdamage-dev xorg-xproto"
pascal@15000 18
Hans-G?nter@23153 19 HOST_ARCH="i486 arm"
Hans-G?nter@23153 20
pascal@24071 21 current_version()
pascal@24071 22 {
pascal@24071 23 wget -O - https://sourceforge.net/projects/lxde/files/LXTask%20%28task%20manager%29/ 2>/dev/null | \
pascal@24071 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 25 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 26 }
pascal@24071 27
pankso@705 28 # Rules to configure and make the package.
pankso@705 29 compile_rules()
pankso@705 30 {
Hans-G?nter@23153 31 ./configure \
pankso@16261 32 $CONFIGURE_ARGS &&
Hans-G?nter@23153 33 make &&
Hans-G?nter@23153 34 make install
pankso@705 35 }
pankso@705 36
pankso@705 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@705 38 genpkg_rules()
pankso@705 39 {
Hans-G?nter@24871 40 cook_copy_folders bin
pankso@705 41 }