wok-current view pidgin/receipt @ rev 10563

claws-mail: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 22:46:30 2011 +0200 (2011-05-25)
parents 8473aa998aab
children 5d82e62b9b12
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.7.11"
5 CATEGORY="network"
6 SHORT_DESC="Instant messaging client using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification \
9 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
10 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
11 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
12 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
13 ncursesw-dev xcb-util-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.pidgin.im/"
16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 touch pidgin.desktop
23 MSGFMT=/usr/bin/msgfmt
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --disable-perl \
29 --disable-screensaver \
30 --disable-gtkspell \
31 --disable-gstreamer \
32 --disable-gstreamer-interfaces \
33 --disable-meanwhile \
34 --disable-avahi \
35 --disable-nm \
36 --disable-tcl \
37 --disable-tk \
38 --disable-dbus \
39 --disable-farsight \
40 --disable-vv \
41 --disable-idn \
42 --disable-sm \
43 $CONFIGURE_ARGS &&
44 make -j 4 &&
45 make DESTDIR=$PWD/_pkg install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
52 cp -a $_pkg/usr/bin $fs/usr
53 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
54 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
55 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
56 rm $fs/usr/lib/pidgin/*.la
57 rm $fs/usr/lib/purple-2/*.la
58 cp -a $_pkg/usr/share/purple $fs/usr/share
59 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
60 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
61 # Cook wanted
62 echo "Cook: pidgin-dev"
63 echo "Cook: libpurple-dev"
64 }