wok-current annotate emesene/receipt @ rev 3573
Update: apply patch once. ssmtp: fix post_install link target path. scim: fix chroot in post_install.
pa
pa
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Jun 26 00:18:25 2009 +0800 (2009-06-26) |
parents | a79556b6da5a |
children | 9107c12aad0a |
rev | line source |
---|---|
rocky@3544 | 1 # SliTaz package receipt. |
rocky@3544 | 2 |
rocky@3544 | 3 PACKAGE="emesene" |
rocky@3544 | 4 VERSION="1.0.1" |
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@3544 | 8 DEPENDS="python pygtk pycairo pysqlite" |
rocky@3544 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rocky@3544 | 10 WEB_SITE="http://www.emesene.org" |
rocky@3544 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
rocky@3544 | 12 |
rocky@3544 | 13 # Rules to configure and make the package. |
rocky@3544 | 14 compile_rules() |
rocky@3544 | 15 { |
rocky@3544 | 16 cd $src |
rocky@3573 | 17 while read file; do |
rocky@3573 | 18 [ -f done.$file ] && continue |
rocky@3573 | 19 echo "Apply $file..." |
rocky@3573 | 20 patch -p1 < ../stuff/$file || return 1 |
rocky@3573 | 21 touch done.$file |
rocky@3573 | 22 done <<EOT |
rocky@3573 | 23 slitaz-openbox.patch |
rocky@3573 | 24 EOT |
rocky@3544 | 25 } |
rocky@3544 | 26 |
rocky@3544 | 27 |
rocky@3544 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3544 | 29 genpkg_rules() |
rocky@3544 | 30 { |
rocky@3544 | 31 mkdir -p $fs/usr/bin \ |
rocky@3544 | 32 $fs/usr/share/emesene \ |
rocky@3544 | 33 $fs/usr/share/pixmaps \ |
rocky@3544 | 34 $fs/usr/share/applications |
rocky@3544 | 35 |
rocky@3544 | 36 cp stuff/emesene $fs/usr/bin |
rocky@3544 | 37 cp -a $src/* $fs/usr/share/emesene |
rocky@3544 | 38 cp $fs/usr/share/emesene/misc/emesene.png $fs/usr/share/pixmaps |
rocky@3544 | 39 cp $fs/usr/share/emesene/misc/emesene.desktop $fs/usr/share/applications |
rocky@3544 | 40 |
rocky@3544 | 41 rm -rf $fs/usr/share/emesene/misc |
rocky@3544 | 42 rm -rf $fs/usr/share/emesene/po |
rocky@3544 | 43 rm -rf $fs/usr/share/emesene/doc |
rocky@3544 | 44 } |