wok-6.x diff pidgin-facebookchat/receipt @ rev 2514
d*-e*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 21:42:10 2009 +0000 (2009-03-16) |
parents | |
children | cd6734156bf3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pidgin-facebookchat/receipt Mon Mar 16 21:42:10 2009 +0000 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pidgin-facebookchat" 1.7 +VERSION="1.47" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers." 1.10 +MAINTAINER="mallory@skyrock.com" 1.11 +SOURCE="pidgin-facebookchat" 1.12 +DEPENDS="pidgin zip" 1.13 +BUILD_DEPENDS="libpurple-dev" 1.14 +TARBALL="$PACKAGE-source-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://code.google.com/p/pidgin-facebookchat/" 1.16 +WGET_URL="http://pidgin-facebookchat.googlecode.com/files/pidgin-facebookchat-source-1.47.tar.bz2" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + src=$WOK/$PACKAGE/$PACKAGE 1.22 + cd $src 1.23 + mv Makefile Makefile.orig 1.24 + sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile 1.25 + make libfacebook.so 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib/purple-2 1.32 + cp -a $PACKAGE/libfacebook.so $fs/usr/lib/purple-2 1.33 + 1.34 + # Pidgin icons 1.35 + mkdir -p $fs/usr/share/pixmaps/pidgin/protocols 1.36 + wget http://pidgin-facebookchat.googlecode.com/files/facebook_icons.zip 1.37 + mkdir facebook_icons 1.38 + unzip -o facebook_icons.zip -d $fs/usr/share/pixmaps/pidgin/protocols 1.39 +} 1.40 + 1.41 +# clean commands for Tazwok. 1.42 +clean_wok() 1.43 +{ 1.44 + rm -rf $WOK/$PACKAGE/$PACKAGE 1.45 + rm -rf $WOK/$PACKAGE/facebook_icons* 1.46 +} 1.47 +