wok view emesene/receipt @ rev 4244

gegl: make package smaller and with less deps
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 22:50:22 2009 +0200 (2009-09-24)
parents 9107c12aad0a
children 31c985a0bd3d
line source
1 # SliTaz package receipt.
3 PACKAGE="emesene"
4 VERSION="1.5"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 while read file; do
19 [ -f done.$file ] && continue
20 echo "Apply $file..."
21 patch -p1 < ../stuff/$file || return 1
22 touch done.$file
23 done <<EOT
24 slitaz-openbox.patch
25 EOT
26 python setup.py build_ext -i || return 1
27 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin \
34 $fs/usr/share/emesene \
35 $fs/usr/share/pixmaps \
36 $fs/usr/share/applications
38 cp stuff/emesene $fs/usr/bin
39 cp -a $src/* $fs/usr/share/emesene
40 cp $fs/usr/share/emesene/misc/emesene.png $fs/usr/share/pixmaps
41 cp $fs/usr/share/emesene/misc/emesene.desktop $fs/usr/share/applications
43 rm -rf $fs/usr/share/emesene/misc
44 rm -rf $fs/usr/share/emesene/po
45 rm -rf $fs/usr/share/emesene/libmimic
46 rm -rf $fs/usr/share/emesene/build
47 }