wok-current view pidgin/receipt @ rev 13924

Up: atk (2.6.0)
author Alexander Medvedev <devl547@gmail.com>
date Fri Jan 25 23:21:02 2013 +0000 (2013-01-25)
parents a821dde0c5ae
children 408c87fa22ca
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.pidgin.im/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
13 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
14 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
15 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
16 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
17 ncursesw-dev xcb-util-dev gmp-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 touch pidgin.desktop
24 MSGFMT=/usr/bin/msgfmt
26 # Pidgin doesn't explicitly link to libm
27 export LDFLAGS="-Wl,--copy-dt-needed-entries"
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 --disable-perl \
33 --disable-screensaver \
34 --disable-gtkspell \
35 --disable-gstreamer \
36 --disable-gstreamer-interfaces \
37 --disable-meanwhile \
38 --disable-avahi \
39 --disable-nm \
40 --disable-tcl \
41 --disable-tk \
42 --disable-dbus \
43 --disable-farsight \
44 --disable-vv \
45 --disable-idn \
46 --disable-sm \
47 $CONFIGURE_ARGS &&
48 make -j 4 &&
49 make install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
56 cp -a $install/usr/bin $fs/usr
57 cp -a $install/usr/lib/*.so* $fs/usr/lib
58 cp -a $install/usr/lib/pidgin $fs/usr/lib
59 cp -a $install/usr/lib/purple-2 $fs/usr/lib
60 rm $fs/usr/lib/pidgin/*.la
61 rm $fs/usr/lib/purple-2/*.la
62 cp -a $install/usr/share/purple $fs/usr/share
63 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
64 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
65 # Cook wanted
66 echo "Cook: pidgin-dev"
67 echo "Cook: libpurple-dev"
68 }