wok-6.x view idesk/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | ba7cbdb5749c |
children | 8ea0030e77cb |
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 automake"
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/configure.in.patch || exit 1
29 patch -p 0 < $stuff/DesktopConfig.patch || exit 1
30 autoconf
31 ./configure \
32 --enable-xft \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/idesk $fs/usr/share
43 rm -f \
44 $fs/usr/share/idesk/*.xpm \
45 $fs/usr/share/idesk/*.lnk \
46 $fs/usr/share/idesk/README
47 # Custom default.lnk with Home icon
48 cp -f $stuff/default.lnk $fs/usr/share/idesk
49 }