wok view emesene/receipt @ rev 10908

mpd: add init script (thanks Mali)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 26 11:44:53 2011 +0200 (2011-07-26)
parents 4d83a3db70f5
children fcdd50638150
line source
1 # SliTaz package receipt.
3 PACKAGE="emesene"
4 VERSION="1.6"
5 CATEGORY="network"
6 SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network."
7 MAINTAINER="rocky@slitaz.org"
8 DEPENDS="python pygtk pycairo python-pysqlite gst-python"
9 BUILD_DEPENDS="python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.emesene.org"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="im instant-messaging instant-messenger"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 while read file; do
20 [ -f done.$file ] && continue
21 echo "Apply $file..."
22 patch -p1 < $stuff/$file || return 1
23 touch done.$file
24 done <<EOT
25 slitaz-openbox.patch
26 EOT
27 python setup.py build_ext -i || return 1
28 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin \
35 $fs/usr/share/emesene \
36 $fs/usr/share/pixmaps \
37 $fs/usr/share/applications
39 cp stuff/emesene $fs/usr/bin
40 cp -a $src/* $fs/usr/share/emesene
41 cp $fs/usr/share/emesene/misc/emesene.png $fs/usr/share/pixmaps
42 cp $fs/usr/share/emesene/misc/emesene.desktop $fs/usr/share/applications
44 rm -rf $fs/usr/share/emesene/misc
45 rm -rf $fs/usr/share/emesene/po
46 rm -rf $fs/usr/share/emesene/libmimic
47 rm -rf $fs/usr/share/emesene/build
48 }