wok view idesk/receipt @ rev 10960

Add: libgooglepinyin, fcitx-googlepinyin
author Liu Peng <hipeng@yahoo.com>
date Tue Sep 20 20:37:05 2011 +0800 (2011-09-20)
parents
children de49f29b101e
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://idesk.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="imlib2 xorg-libXft"
13 BUILD_DEPENDS="imlib2-dev xorg-libXft-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p 0 < $stuff/DesktopConfig.patch || exit 1
20 ./configure \
21 --enable-xft \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/idesk $fs/usr/share
32 rm -f \
33 $fs/usr/share/idesk/*.xpm \
34 $fs/usr/share/idesk/*.lnk \
35 $fs/usr/share/idesk/README
36 # Custom default.lnk with Home icon
37 cp -f $stuff/default.lnk $fs/usr/share/idesk
38 }