wok-6.x view pidgin-facebookchat/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | 75834da95be8 |
children | acab66578a36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin-facebookchat"
4 VERSION="1.63"
5 CATEGORY="network"
6 SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers."
7 MAINTAINER="mallory@skyrock.com"
8 SOURCE="pidgin-facebookchat"
9 DEPENDS="pidgin zip json-glib"
10 BUILD_DEPENDS="libpurple-dev json-glib-dev"
11 TARBALL="$PACKAGE-source-$VERSION.tar.bz2"
12 WEB_SITE="http://code.google.com/p/pidgin-facebookchat/"
13 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 src=$WOK/$PACKAGE/$PACKAGE
19 cd $src
20 mv Makefile Makefile.orig
21 sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile
22 make libfacebook.so
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/purple-2
29 cp -a $PACKAGE/libfacebook.so $fs/usr/lib/purple-2
31 # Pidgin icons
32 mkdir -p $fs/usr/share/pixmaps/pidgin/protocols
33 [ -f $SOURCES_REPOSITORY/facebook_icons.zip ] || \
34 wget http://pidgin-facebookchat.googlecode.com/files/facebook_icons.zip
35 mkdir facebook_icons
36 unzip -o $SOURCES_REPOSITORY/facebook_icons.zip \
37 -d $fs/usr/share/pixmaps/pidgin/protocols
38 }
40 # clean commands for Tazwok.
41 clean_wok()
42 {
43 rm -rf $WOK/$PACKAGE/$PACKAGE
44 rm -rf $WOK/$PACKAGE/facebook_icons*
45 }