wok-current view lxtask/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | ee53899c6189 |
children | 180119c209e8 |
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://wiki.lxde.org/en/LXTask"
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 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/lxde/files/LXTask%20%28task%20manager%29/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }