wok-6.x annotate pidgin-facebookchat/receipt @ rev 19621
dhcp: vlan support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 10 16:46:56 2017 +0100 (2017-01-10) |
parents | 11579844d239 |
children | 6135577f4d08 |
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." |
pascal@14277 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@14999 | 8 LICENSE="GPL3" |
mallory@2108 | 9 TARBALL="$PACKAGE-source-$VERSION.tar.bz2" |
mallory@2108 | 10 WEB_SITE="http://code.google.com/p/pidgin-facebookchat/" |
mallory@3172 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
mallory@2108 | 12 |
pascal@14999 | 13 DEPENDS="pidgin zip json-glib" |
pascal@14999 | 14 BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip" |
pascal@14999 | 15 |
mallory@2108 | 16 # Rules to configure and make the package. |
mallory@2108 | 17 compile_rules() |
mallory@2108 | 18 { |
mallory@2108 | 19 cd $src |
mallory@2108 | 20 mv Makefile Makefile.orig |
mallory@2108 | 21 sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile |
mallory@2108 | 22 make libfacebook.so |
mallory@2108 | 23 } |
mallory@2108 | 24 |
mallory@2108 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2108 | 26 genpkg_rules() |
mallory@2108 | 27 { |
mallory@2108 | 28 mkdir -p $fs/usr/lib/purple-2 |
slaxemulator@8752 | 29 cp -a $src/libfacebook.so $fs/usr/lib/purple-2 |
mallory@2108 | 30 |
mallory@2108 | 31 # Pidgin icons |
slaxemulator@7504 | 32 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/16x16 |
slaxemulator@7504 | 33 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/22x22 |
slaxemulator@7504 | 34 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/48x48 |
slaxemulator@8752 | 35 cp -a $stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png |
slaxemulator@8752 | 36 cp -a $stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png |
slaxemulator@8752 | 37 cp -a $stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png |
mallory@2108 | 38 } |
mallory@2108 | 39 |