wok annotate idesk/receipt @ rev 24428
updated cmus (2.8.0 -> 2.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 14:59:37 2022 +0100 (2022-02-12) |
parents | fd7c7b825eb9 |
children | 9981cfce1dd8 |
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" |
pankso@10836 | 10 WEB_SITE="http://idesk.sourceforge.net/" |
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" |
pankso@10836 | 15 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev" |
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 { |
pankso@10836 | 28 patch -p 0 < $stuff/DesktopConfig.patch || exit 1 |
pankso@10836 | 29 ./configure \ |
pankso@10836 | 30 --enable-xft \ |
pankso@10836 | 31 $CONFIGURE_ARGS && |
pankso@10836 | 32 make && make DESTDIR=$DESTDIR install |
pankso@10836 | 33 } |
pankso@10836 | 34 |
pankso@10836 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10836 | 36 genpkg_rules() |
pankso@10836 | 37 { |
pankso@10836 | 38 mkdir -p $fs/usr/share |
pankso@10836 | 39 cp -a $install/usr/bin $fs/usr |
pankso@10836 | 40 cp -a $install/usr/share/idesk $fs/usr/share |
pankso@10836 | 41 rm -f \ |
pankso@10836 | 42 $fs/usr/share/idesk/*.xpm \ |
pankso@10836 | 43 $fs/usr/share/idesk/*.lnk \ |
pankso@10836 | 44 $fs/usr/share/idesk/README |
pankso@10836 | 45 # Custom default.lnk with Home icon |
pankso@10836 | 46 cp -f $stuff/default.lnk $fs/usr/share/idesk |
pankso@10836 | 47 } |