wok-next annotate pidgin-facebookchat/receipt @ rev 4941
add/improve TAGS j* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 15:44:25 2010 +0000 (2010-02-16) |
parents | 5e7ead61bce4 |
children | aebcbcedcc6b |
rev | line source |
---|---|
mallory@2108 | 1 # SliTaz package receipt. |
mallory@2108 | 2 |
mallory@2108 | 3 PACKAGE="pidgin-facebookchat" |
mallory@4492 | 4 VERSION="1.63" |
mallory@2108 | 5 CATEGORY="network" |
mallory@2108 | 6 SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers." |
mallory@2108 | 7 MAINTAINER="mallory@skyrock.com" |
mallory@2108 | 8 SOURCE="pidgin-facebookchat" |
mallory@3711 | 9 DEPENDS="pidgin zip json-glib" |
mallory@3711 | 10 BUILD_DEPENDS="libpurple-dev json-glib-dev" |
mallory@2108 | 11 TARBALL="$PACKAGE-source-$VERSION.tar.bz2" |
mallory@2108 | 12 WEB_SITE="http://code.google.com/p/pidgin-facebookchat/" |
mallory@3172 | 13 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
mallory@2108 | 14 |
mallory@2108 | 15 # Rules to configure and make the package. |
mallory@2108 | 16 compile_rules() |
mallory@2108 | 17 { |
mallory@2108 | 18 src=$WOK/$PACKAGE/$PACKAGE |
mallory@2108 | 19 cd $src |
mallory@2108 | 20 mv Makefile Makefile.orig |
mallory@2108 | 21 sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile |
mallory@2108 | 22 make libfacebook.so |
mallory@2108 | 23 } |
mallory@2108 | 24 |
mallory@2108 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2108 | 26 genpkg_rules() |
mallory@2108 | 27 { |
mallory@2108 | 28 mkdir -p $fs/usr/lib/purple-2 |
mallory@2108 | 29 cp -a $PACKAGE/libfacebook.so $fs/usr/lib/purple-2 |
mallory@2108 | 30 |
mallory@2108 | 31 # Pidgin icons |
mallory@2108 | 32 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols |
mallory@2108 | 33 wget http://pidgin-facebookchat.googlecode.com/files/facebook_icons.zip |
mallory@2108 | 34 mkdir facebook_icons |
mallory@2108 | 35 unzip -o facebook_icons.zip -d $fs/usr/share/pixmaps/pidgin/protocols |
mallory@2108 | 36 } |
mallory@2108 | 37 |
mallory@2108 | 38 # clean commands for Tazwok. |
mallory@2108 | 39 clean_wok() |
mallory@2108 | 40 { |
mallory@2108 | 41 rm -rf $WOK/$PACKAGE/$PACKAGE |
mallory@2108 | 42 rm -rf $WOK/$PACKAGE/facebook_icons* |
mallory@2108 | 43 } |
mallory@2108 | 44 |