wok-6.x view pidgin-facebookchat/receipt @ rev 14891
Add: qupzilla (v1.4.3)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jul 25 18:52:00 2013 -0300 (2013-07-25) |
parents | e8768e5178a6 |
children | 2b9f96603415 |
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 DEPENDS="pidgin zip json-glib"
9 BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip"
10 TARBALL="$PACKAGE-source-$VERSION.tar.bz2"
11 WEB_SITE="http://code.google.com/p/pidgin-facebookchat/"
12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mv Makefile Makefile.orig
19 sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile
20 make libfacebook.so
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/purple-2
27 cp -a $src/libfacebook.so $fs/usr/lib/purple-2
29 # Pidgin icons
30 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/16x16
31 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/22x22
32 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/48x48
33 cp -a $stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png
34 cp -a $stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png
35 cp -a $stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png
36 }