wok-4.x view pidgin/receipt @ rev 11264
Up: gnutls (3.0.7), add nettle (2.4)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed Nov 09 11:54:03 2011 +0000 (2011-11-09) |
parents | d65075aee643 |
children | fafbec11f825 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.10.0"
5 CATEGORY="network"
6 SHORT_DESC="Instant messaging client using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ gnutls libgcrypt libgpg-error \
9 xorg-libXdamage libxml2 libxcb xcb-util libidn libtasn1 nss"
10 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
11 libgpg-error-dev libxml2-dev libxcb-dev \
12 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
13 xcb-util-dev optipng"
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 find | grep .png | xargs optipng -o7
23 touch pidgin.desktop
24 MSGFMT=/usr/bin/msgfmt
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --disable-perl \
30 --disable-consoleui \
31 --disable-screensaver \
32 --disable-gtkspell \
33 --disable-startup-notification \
34 --disable-gstreamer \
35 --disable-gstreamer-interfaces \
36 --disable-meanwhile \
37 --disable-avahi \
38 --disable-nm \
39 --disable-tcl \
40 --disable-tk \
41 --disable-dbus \
42 --disable-farsight \
43 --disable-vv \
44 --disable-idn \
45 --disable-sm \
46 --enable-trayicon-compat \
47 $CONFIGURE_ARGS &&
48 make $MAKEFLAGS &&
49 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
57 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
58 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
59 cp -a $_pkg/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 $_pkg/usr/share/purple $fs/usr/share
63 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
64 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
65 # Cook wanted
66 echo "Cook: pidgin-dev"
67 echo "Cook: libpurple-dev"
68 }