wok view pidgin/receipt @ rev 6065

tazbb: breaks a cook loop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 22 11:18:37 2010 +0200 (2010-08-22)
parents 87d0b493a4a6
children d528522fd992
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.7.1"
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 gstreamer"
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"
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 $CONFIGURE_ARGS &&
43 make -j 4 &&
44 make DESTDIR=$PWD/_pkg install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
51 cp -a $_pkg/usr/bin $fs/usr
52 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
53 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
54 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
55 rm $fs/usr/lib/pidgin/*.la
56 rm $fs/usr/lib/purple-2/*.la
57 cp -a $_pkg/usr/share/purple $fs/usr/share
58 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
59 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
60 # Cook wanted
61 echo "Cook: pidgin-dev"
62 echo "Cook: libpurple-dev"
63 }