wok-next view pidgin-facebookchat/receipt @ rev 15909
Up: lxpanel (0.6.1) and remove dep on libwnck --> lxpanel-extra (save space on core ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 15 13:07:07 2014 +0100 (2014-02-15) |
parents | 11579844d239 |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin-facebookchat"
4 VERSION="1.69"
5 CATEGORY="network"
6 SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-source-$VERSION.tar.bz2"
10 WEB_SITE="http://code.google.com/p/pidgin-facebookchat/"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="pidgin zip json-glib"
14 BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mv Makefile Makefile.orig
21 sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile
22 make libfacebook.so
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/purple-2
29 cp -a $src/libfacebook.so $fs/usr/lib/purple-2
31 # Pidgin icons
32 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/16x16
33 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/22x22
34 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/48x48
35 cp -a $stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png
36 cp -a $stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png
37 cp -a $stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png
38 }