wok-6.x annotate emesene/receipt @ rev 13528

libbonobo: Sync with wok-tank.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 20 13:58:39 2012 +0000 (2012-10-20)
parents 4d83a3db70f5
children fcdd50638150
rev   line source
rocky@3544 1 # SliTaz package receipt.
rocky@3544 2
rocky@3544 3 PACKAGE="emesene"
rocky@5088 4 VERSION="1.6"
rocky@3544 5 CATEGORY="network"
rocky@3544 6 SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network."
rocky@3544 7 MAINTAINER="rocky@slitaz.org"
rocky@3972 8 DEPENDS="python pygtk pycairo python-pysqlite gst-python"
rocky@3972 9 BUILD_DEPENDS="python-dev"
rocky@3544 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rocky@3544 11 WEB_SITE="http://www.emesene.org"
rocky@3544 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4935 13 TAGS="im instant-messaging instant-messenger"
rocky@3544 14
rocky@3544 15 # Rules to configure and make the package.
rocky@3544 16 compile_rules()
rocky@3544 17 {
rocky@3544 18 cd $src
rocky@3573 19 while read file; do
rocky@3573 20 [ -f done.$file ] && continue
rocky@3573 21 echo "Apply $file..."
slaxemulator@9700 22 patch -p1 < $stuff/$file || return 1
rocky@3573 23 touch done.$file
rocky@3573 24 done <<EOT
rocky@3573 25 slitaz-openbox.patch
rocky@3573 26 EOT
rocky@3972 27 python setup.py build_ext -i || return 1
rocky@3544 28 }
rocky@3544 29
rocky@3544 30
rocky@3544 31 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3544 32 genpkg_rules()
rocky@3544 33 {
rocky@3544 34 mkdir -p $fs/usr/bin \
rocky@3544 35 $fs/usr/share/emesene \
rocky@3544 36 $fs/usr/share/pixmaps \
rocky@3544 37 $fs/usr/share/applications
rocky@3544 38
rocky@3544 39 cp stuff/emesene $fs/usr/bin
rocky@3544 40 cp -a $src/* $fs/usr/share/emesene
rocky@3544 41 cp $fs/usr/share/emesene/misc/emesene.png $fs/usr/share/pixmaps
rocky@3544 42 cp $fs/usr/share/emesene/misc/emesene.desktop $fs/usr/share/applications
rocky@3544 43
rocky@3544 44 rm -rf $fs/usr/share/emesene/misc
rocky@3544 45 rm -rf $fs/usr/share/emesene/po
rocky@3972 46 rm -rf $fs/usr/share/emesene/libmimic
rocky@3972 47 rm -rf $fs/usr/share/emesene/build
rocky@3544 48 }