wok view lxtask/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents 180119c209e8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lxtask"
4 VERSION="0.1.10"
5 CATEGORY="system-tools"
6 TAGS="LXDE"
7 SHORT_DESC="LXDE task manager."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.lxde.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 SUGGESTED="lxtask-lang"
16 DEPENDS="gtk+ xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev xorg-libXdamage-dev xorg-xproto"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/lxde/files/LXTask%20%28task%20manager%29/ 2>/dev/null | \
25 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
26 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }