wok view pidgin/receipt @ rev 12157
Up: slitaz-base-files (4.4.1) - Now include httphelper, calc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 17 14:21:12 2012 +0100 (2012-03-17) |
parents | fafbec11f825 |
children | a821dde0c5ae |
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.10.1"
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 gmp"
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 gmp-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 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 $fs/usr/share/applications
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 $stuff/pidgin.desktop $fs/usr/share/applications
63 cp -a $_pkg/usr/share/purple $fs/usr/share
64 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
65 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
66 # Cook wanted
67 echo "Cook: pidgin-dev"
68 echo "Cook: libpurple-dev"
69 }