wok-next view pidgin/receipt @ rev 4374

pyneighborhood: fix depends and desktop.file
author Paul Issott <paul@slitaz.org>
date Sun Oct 11 13:25:38 2009 +0000 (2009-10-11)
parents e3e2ae8e9c2e
children c5b7e70f9a14
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.6.2"
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"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 SUGGESTED="gnutls"
14 WEB_SITE="http://www.pidgin.im/"
15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 touch pidgin.desktop
22 MSGFMT=/usr/bin/msgfmt
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --disable-perl \
28 --disable-screensaver \
29 --disable-gtkspell \
30 --disable-gstreamer \
31 --disable-meanwhile \
32 --disable-avahi \
33 --disable-nm \
34 --disable-tcl \
35 --disable-dbus \
36 --disable-vv \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
46 cp -a $_pkg/usr/bin $fs/usr
47 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
48 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
49 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
50 rm $fs/usr/lib/pidgin/*.la
51 rm $fs/usr/lib/purple-2/*.la
52 cp -a $_pkg/usr/share/purple $fs/usr/share
53 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
54 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
55 # Cook wanted
56 echo "Cook: pidgin-dev"
57 echo "Cook: libpurple-dev"
58 }