wok-6.x annotate pidgin/receipt @ rev 6212

Up: pidgin, pidgin-dev, libpurple-dev to 2.7.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 10:43:38 2010 +0000 (2010-09-11)
parents 49e501a55595
children b5800f48162f
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
slaxemulator@6212 4 VERSION="2.7.3"
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 \
slaxemulator@6212 9 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1"
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 \
slaxemulator@6212 12 libtasn1-dev intltool expat-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 \
slaxemulator@6212 42 --disable-sm \
pascal@2522 43 $CONFIGURE_ARGS &&
pascal@5781 44 make -j 4 &&
pankso@41 45 make DESTDIR=$PWD/_pkg install
pankso@41 46 }
pankso@41 47
pankso@41 48 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 49 genpkg_rules()
pankso@41 50 {
pankso@186 51 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@41 52 cp -a $_pkg/usr/bin $fs/usr
pankso@41 53 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@41 54 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
pankso@41 55 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
pankso@41 56 rm $fs/usr/lib/pidgin/*.la
pankso@41 57 rm $fs/usr/lib/purple-2/*.la
pankso@41 58 cp -a $_pkg/usr/share/purple $fs/usr/share
pankso@41 59 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
pankso@41 60 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@3634 61 # Cook wanted
pankso@3634 62 echo "Cook: pidgin-dev"
pankso@3634 63 echo "Cook: libpurple-dev"
pankso@41 64 }
pankso@41 65