wok-6.x view pidgin-facebookchat/receipt @ rev 9273
Fixed rgzip.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 15 18:24:23 2011 +0000 (2011-03-15) |
parents | 52d91c4e4701 |
children | e8768e5178a6 |
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@skyrock.com"
8 SOURCE="pidgin-facebookchat"
9 DEPENDS="pidgin zip json-glib"
10 BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip"
11 TARBALL="$PACKAGE-source-$VERSION.tar.bz2"
12 WEB_SITE="http://code.google.com/p/pidgin-facebookchat/"
13 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mv Makefile Makefile.orig
20 sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile
21 make libfacebook.so
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib/purple-2
28 cp -a $src/libfacebook.so $fs/usr/lib/purple-2
30 # Pidgin icons
31 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/16x16
32 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/22x22
33 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/48x48
34 cp -a $stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png
35 cp -a $stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png
36 cp -a $stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png
37 }