wok annotate xfce4-taskmanager/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 17091bc7c301
children
rev   line source
erjo@4866 1 # SliTaz package receipt.
erjo@4866 2
erjo@4866 3 PACKAGE="xfce4-taskmanager"
devl547@16305 4 VERSION="1.0.1"
erjo@4866 5 CATEGORY="x-window"
erjo@4866 6 SHORT_DESC="Simple taskmanager for Xfce."
erjo@4866 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@4866 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://goodies.xfce.org/projects/applications/xfce4-taskmanager"
pascal@24972 11 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4866 12
pascal@13761 13 DEPENDS="libxfce4util libxfcegui4 startup-notification"
pascal@13761 14 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev startup-notification-dev \
pascal@13761 15 intltool gtk+-dev"
pascal@13761 16
pascal@24415 17 # What is the latest version available today?
pascal@24415 18 current_version()
pascal@24415 19 {
pascal@24415 20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 23 }
pascal@24415 24
erjo@4866 25 # Rules to configure and make the package.
erjo@4866 26 compile_rules()
erjo@4866 27 {
erjo@4866 28 cd $src
slaxemulator@10061 29 ./configure $CONFIGURE_ARGS &&
slaxemulator@10061 30 make && make install
erjo@4866 31 }
erjo@4866 32
erjo@4866 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4866 34 genpkg_rules()
erjo@4866 35 {
slaxemulator@9728 36 mkdir -p $fs/usr
pascal@13761 37 cp -a $install/usr/bin $fs/usr
erjo@4866 38 }
erjo@4866 39