wok-next view pidgin-facebookchat/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | a3c581bf52b8 |
children | d5aab818505e |
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="mallory@sweetpeople.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 }