wok-next view pidgin-facebookchat/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pidgin-facebookchat"
4 VERSION="1.69"
5 CATEGORY="network"
6 SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/dequis/purple-facebook"
11 TARBALL="$PACKAGE-source-$VERSION.tar.bz2"
12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" # FIXME
14 BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip"
16 compile_rules() {
17 mv Makefile Makefile.orig
18 sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile
20 make libfacebook.so
21 }
23 genpkg_rules() {
24 mkdir -p $fs/usr/lib/purple-2
25 cp -a $src/libfacebook.so $fs/usr/lib/purple-2
27 # Pidgin icons
28 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/16x16
29 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/22x22
30 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/48x48
31 cp -a $stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png
32 cp -a $stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png
33 cp -a $stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png
34 DEPENDS="pidgin zip json-glib"
35 }