wok annotate lxtask/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents d33c3c211ef8
children d8d2e9c83bae
rev   line source
pankso@705 1 # SliTaz package receipt.
pankso@705 2
pankso@705 3 PACKAGE="lxtask"
Hans-G?nter@23153 4 VERSION="0.1.9"
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@23810 10 WEB_SITE="https://wiki.lxde.org/en/LXTask"
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
pascal@15000 15 DEPENDS="gtk+ xorg-libXdamage"
pankso@16261 16 BUILD_DEPENDS="gtk+-dev xorg-libXdamage-dev xorg-xproto"
pascal@15000 17
Hans-G?nter@23153 18 HOST_ARCH="i486 arm"
Hans-G?nter@23153 19
pascal@24071 20 current_version()
pascal@24071 21 {
pascal@24071 22 wget -O - https://sourceforge.net/projects/lxde/files/LXTask%20%28task%20manager%29/ 2>/dev/null | \
pascal@24071 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 24 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 25 }
pascal@24071 26
pankso@705 27 # Rules to configure and make the package.
pankso@705 28 compile_rules()
pankso@705 29 {
Hans-G?nter@23153 30 ./configure \
pankso@16261 31 $CONFIGURE_ARGS &&
Hans-G?nter@23153 32 make &&
Hans-G?nter@23153 33 make install
pankso@705 34 }
pankso@705 35
pankso@705 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@705 37 genpkg_rules()
pankso@705 38 {
pankso@705 39 mkdir -p $fs/usr
Hans-G?nter@23153 40 cp -a $install/usr/bin $fs/usr
pankso@705 41 }