wok view pidgin/receipt @ rev 6483

Added perl to glib-dev depends since its need for glib-mkenums to work.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 30 04:11:49 2010 +0000 (2010-09-30)
parents 49e501a55595
children b5800f48162f
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.7.3"
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"
10 BUILD_DEPENDS="$DEPENDS gtk+-dev gnutls-dev libgcrypt-dev gnutls-dev \
11 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev libidn-dev \
12 libtasn1-dev intltool expat-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 SUGGESTED="gnutls"
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 }