wok annotate idesk/receipt @ rev 25438

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 01 11:12:31 2022 +0000 (20 months ago)
parents 9981cfce1dd8
children b0069c845544
rev   line source
pankso@10836 1 # SliTaz package receipt.
pankso@10836 2
pankso@10836 3 PACKAGE="idesk"
pankso@10836 4 VERSION="0.7.5"
pankso@10836 5 CATEGORY="x-window"
pankso@10836 6 SHORT_DESC="IDesk gives users icons on their desktop."
pankso@10836 7 MAINTAINER="pankso@slitaz.org"
pascal@15600 8 LICENSE="BSD"
pankso@10836 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25438 10 WEB_SITE="http://idesk.sourceforge.net/html/index.html"
pankso@10836 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16334 12 HOST_ARCH="i486 arm"
pankso@10836 13
pankso@10836 14 DEPENDS="imlib2 xorg-libXft"
pascal@24990 15 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev automake"
pankso@10836 16
pascal@24412 17 # What is the latest version available today?
pascal@24412 18 current_version()
pascal@24412 19 {
pascal@24412 20 wget -O - https://sourceforge.net/projects/idesk/files/idesk/ 2>/dev/null | \
pascal@24412 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24412 22 sed '/scope="row/!d;s|.*/idesk-||;s|.tar.*||;q'
pascal@24412 23 }
pascal@24412 24
pankso@10836 25 # Rules to configure and make the package.
pankso@10836 26 compile_rules()
pankso@10836 27 {
pascal@24990 28 patch -p 0 < $stuff/configure.in.patch || exit 1
pankso@10836 29 patch -p 0 < $stuff/DesktopConfig.patch || exit 1
pascal@24990 30 autoconf
pankso@10836 31 ./configure \
pankso@10836 32 --enable-xft \
pankso@10836 33 $CONFIGURE_ARGS &&
pankso@10836 34 make && make DESTDIR=$DESTDIR install
pankso@10836 35 }
pankso@10836 36
pankso@10836 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10836 38 genpkg_rules()
pankso@10836 39 {
pankso@10836 40 mkdir -p $fs/usr/share
pankso@10836 41 cp -a $install/usr/bin $fs/usr
pankso@10836 42 cp -a $install/usr/share/idesk $fs/usr/share
pankso@10836 43 rm -f \
pankso@10836 44 $fs/usr/share/idesk/*.xpm \
pankso@10836 45 $fs/usr/share/idesk/*.lnk \
pankso@10836 46 $fs/usr/share/idesk/README
pankso@10836 47 # Custom default.lnk with Home icon
pankso@10836 48 cp -f $stuff/default.lnk $fs/usr/share/idesk
pankso@10836 49 }