wok-stable annotate pidgin/receipt @ rev 3572

Add get-google-chrome (thanks rocky)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 25 17:22:57 2009 +0200 (2009-06-25)
parents 6dc653f5ad54
children f5e629e7cd6f
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
erjo@3141 4 VERSION="2.5.6"
pankso@186 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Instant messaging client using GTK+."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@2522 8 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification xorg-libXdamage"
pankso@3422 9 BUILD_DEPENDS="gtk+-dev gnutls-dev libgcrypt-dev libgpg-error-dev startup-notification-dev"
pankso@41 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@758 11 SUGGESTED="gnutls"
pankso@41 12 WEB_SITE="http://www.pidgin.im/"
pankso@41 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 14
pankso@41 15 # Rules to configure and make the package.
pankso@41 16 compile_rules()
pankso@41 17 {
pankso@41 18 cd $src
pankso@186 19 MSGFMT=/usr/bin/msgfmt
pankso@186 20 ./configure \
pankso@186 21 --prefix=/usr \
pankso@186 22 --infodir=/usr/share/info \
pankso@186 23 --mandir=/usr/share/man \
pankso@186 24 --disable-perl \
pankso@912 25 --disable-screensaver \
pankso@912 26 --disable-gtkspell \
pankso@912 27 --disable-gstreamer \
pankso@912 28 --disable-meanwhile \
pankso@912 29 --disable-avahi \
pankso@912 30 --disable-nm \
pankso@912 31 --disable-tcl \
pankso@912 32 --disable-dbus \
pascal@2522 33 $CONFIGURE_ARGS &&
pascal@2522 34 make &&
pankso@41 35 make DESTDIR=$PWD/_pkg install
pankso@41 36 }
pankso@41 37
pankso@41 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 39 genpkg_rules()
pankso@41 40 {
pankso@186 41 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@41 42 cp -a $_pkg/usr/bin $fs/usr
pankso@41 43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@41 44 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
pankso@41 45 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
pankso@41 46 rm $fs/usr/lib/pidgin/*.la
pankso@41 47 rm $fs/usr/lib/purple-2/*.la
pankso@41 48 cp -a $_pkg/usr/share/purple $fs/usr/share
pankso@41 49 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
pankso@41 50 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@41 51 }
pankso@41 52