wok view idesk/receipt @ rev 25658
Fix get-texlive for 2008 version, add collection-latex, fix for build on x86_64 (2008 don't support it)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Feb 16 19:48:00 2024 +0100 (9 months ago) |
parents | b0069c845544 |
children |
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="https://idesk.sourceforge.net/html/index.html"
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }