wok-current view pidgin-facebookchat/receipt @ rev 10340

shared-mime-info: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 02:24:27 2011 +0000 (2011-05-22)
parents a1c1d35d9f92
children 11579844d239
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 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 }