wok-6.x view pidgin/receipt @ rev 15208

Add gentorrent
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 10 12:58:20 2013 +0000 (2013-09-10)
parents 76116051c3d9
children f31f5f714ee4
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.10.6"
5 CATEGORY="network"
6 SHORT_DESC="Instant messaging client using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pidgin.im/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
14 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
15 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
16 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
17 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
18 ncursesw-dev xcb-util-dev gmp-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 touch pidgin.desktop
25 MSGFMT=/usr/bin/msgfmt
27 # Pidgin doesn't explicitly link to libm
28 export LDFLAGS="-Wl,--copy-dt-needed-entries"
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --disable-perl \
34 --disable-screensaver \
35 --disable-gtkspell \
36 --disable-gstreamer \
37 --disable-gstreamer-interfaces \
38 --disable-meanwhile \
39 --disable-avahi \
40 --disable-nm \
41 --disable-tcl \
42 --disable-tk \
43 --disable-dbus \
44 --disable-farsight \
45 --disable-vv \
46 --disable-idn \
47 --disable-sm \
48 $CONFIGURE_ARGS &&
49 make -j 4 &&
50 make install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
57 cp -a $install/usr/bin $fs/usr
58 cp -a $install/usr/lib/*.so* $fs/usr/lib
59 cp -a $install/usr/lib/pidgin $fs/usr/lib
60 cp -a $install/usr/lib/purple-2 $fs/usr/lib
61 rm $fs/usr/lib/pidgin/*.la
62 rm $fs/usr/lib/purple-2/*.la
63 cp -a $install/usr/share/purple $fs/usr/share
64 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
65 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
66 # Cook wanted
67 echo "Cook: pidgin-dev"
68 echo "Cook: libpurple-dev"
69 }