wok-current annotate pidgin-facebookchat/receipt @ rev 13453

Add: claws-mail-perl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Oct 07 01:30:47 2012 +0200 (2012-10-07)
parents a1c1d35d9f92
children 11579844d239
rev   line source
mallory@2108 1 # SliTaz package receipt.
mallory@2108 2
mallory@2108 3 PACKAGE="pidgin-facebookchat"
slaxemulator@7504 4 VERSION="1.69"
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@3711 8 DEPENDS="pidgin zip json-glib"
slaxemulator@7504 9 BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip"
mallory@2108 10 TARBALL="$PACKAGE-source-$VERSION.tar.bz2"
mallory@2108 11 WEB_SITE="http://code.google.com/p/pidgin-facebookchat/"
mallory@3172 12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
mallory@2108 13
mallory@2108 14 # Rules to configure and make the package.
mallory@2108 15 compile_rules()
mallory@2108 16 {
mallory@2108 17 cd $src
mallory@2108 18 mv Makefile Makefile.orig
mallory@2108 19 sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile
mallory@2108 20 make libfacebook.so
mallory@2108 21 }
mallory@2108 22
mallory@2108 23 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2108 24 genpkg_rules()
mallory@2108 25 {
mallory@2108 26 mkdir -p $fs/usr/lib/purple-2
slaxemulator@8752 27 cp -a $src/libfacebook.so $fs/usr/lib/purple-2
mallory@2108 28
mallory@2108 29 # Pidgin icons
slaxemulator@7504 30 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/16x16
slaxemulator@7504 31 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/22x22
slaxemulator@7504 32 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/48x48
slaxemulator@8752 33 cp -a $stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png
slaxemulator@8752 34 cp -a $stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png
slaxemulator@8752 35 cp -a $stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png
mallory@2108 36 }
mallory@2108 37