wok view emesene/receipt @ rev 12536

rage: need auto tools
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 02:16:57 2012 +0200 (2012-04-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 }