wok-current annotate pidgin/receipt @ rev 5594

Up: xorg-xf86-video-nv
author Rohit Joshi <jozee@slitaz.org>
date Tue May 18 07:08:18 2010 -0400 (2010-05-18)
parents c09bad9ac202
children 87d0b493a4a6
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
devl547@5548 4 VERSION="2.7.0"
pankso@186 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Instant messaging client using GTK+."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pankso@3634 8 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification \
devl547@5548 9 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 gstreamer"
pankso@3634 10 BUILD_DEPENDS="$DEPENDS gtk+-dev gnutls-dev libgcrypt-dev gnutls-dev \
devl547@5548 11 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev libidn-dev \
devl547@5548 12 gstreamer-dev"
pankso@41 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@758 14 SUGGESTED="gnutls"
pankso@41 15 WEB_SITE="http://www.pidgin.im/"
pankso@41 16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 17
pankso@41 18 # Rules to configure and make the package.
pankso@41 19 compile_rules()
pankso@41 20 {
pankso@41 21 cd $src
pankso@3634 22 touch pidgin.desktop
pankso@186 23 MSGFMT=/usr/bin/msgfmt
pankso@186 24 ./configure \
pankso@186 25 --prefix=/usr \
pankso@186 26 --infodir=/usr/share/info \
pankso@186 27 --mandir=/usr/share/man \
pankso@186 28 --disable-perl \
pankso@912 29 --disable-screensaver \
pankso@912 30 --disable-gtkspell \
pankso@912 31 --disable-gstreamer \
devl547@5548 32 --disable-gstreamer-interfaces \
pankso@912 33 --disable-meanwhile \
pankso@912 34 --disable-avahi \
pankso@912 35 --disable-nm \
pankso@912 36 --disable-tcl \
devl547@5548 37 --disable-tk \
pankso@912 38 --disable-dbus \
devl547@5548 39 --disable-farsight \
pankso@4076 40 --disable-vv \
devl547@5548 41 --disable-idn \
pascal@2522 42 $CONFIGURE_ARGS &&
pascal@2522 43 make &&
pankso@41 44 make DESTDIR=$PWD/_pkg install
pankso@41 45 }
pankso@41 46
pankso@41 47 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 48 genpkg_rules()
pankso@41 49 {
pankso@186 50 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@41 51 cp -a $_pkg/usr/bin $fs/usr
pankso@41 52 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@41 53 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
pankso@41 54 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
pankso@41 55 rm $fs/usr/lib/pidgin/*.la
pankso@41 56 rm $fs/usr/lib/purple-2/*.la
pankso@41 57 cp -a $_pkg/usr/share/purple $fs/usr/share
pankso@41 58 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
pankso@41 59 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@3634 60 # Cook wanted
pankso@3634 61 echo "Cook: pidgin-dev"
pankso@3634 62 echo "Cook: libpurple-dev"
pankso@41 63 }
pankso@41 64