wok view idesk/receipt @ rev 24841

updated libuninameslist and libuninameslist-dev (20190701 -> 20211114)
author Hans-G?nter Theisgen
date Fri Mar 25 09:32:35 2022 +0100 (2022-03-25)
parents fd7c7b825eb9
children 9981cfce1dd8
line source
1 # SliTaz package receipt.
3 PACKAGE="idesk"
4 VERSION="0.7.5"
5 CATEGORY="x-window"
6 SHORT_DESC="IDesk gives users icons on their desktop."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://idesk.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="imlib2 xorg-libXft"
15 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/idesk/files/idesk/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/idesk-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch -p 0 < $stuff/DesktopConfig.patch || exit 1
29 ./configure \
30 --enable-xft \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/idesk $fs/usr/share
41 rm -f \
42 $fs/usr/share/idesk/*.xpm \
43 $fs/usr/share/idesk/*.lnk \
44 $fs/usr/share/idesk/README
45 # Custom default.lnk with Home icon
46 cp -f $stuff/default.lnk $fs/usr/share/idesk
47 }