wok-current annotate pidgin/receipt @ rev 3634

Up: pidgin (2.5.8)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jul 03 11:14:22 2009 +0200 (2009-07-03)
parents 61cef885b185
children 9302c4be8d07
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
pankso@3634 4 VERSION="2.5.8"
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 \
pankso@3634 9 xorg-libXdamage libxml2 libxcb"
pankso@3634 10 BUILD_DEPENDS="$DEPENDS gtk+-dev gnutls-dev libgcrypt-dev gnutls-dev \
pankso@3634 11 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev"
pankso@41 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@758 13 SUGGESTED="gnutls"
pankso@41 14 WEB_SITE="http://www.pidgin.im/"
pankso@41 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 16
pankso@41 17 # Rules to configure and make the package.
pankso@41 18 compile_rules()
pankso@41 19 {
pankso@41 20 cd $src
pankso@3634 21 touch pidgin.desktop
pankso@186 22 MSGFMT=/usr/bin/msgfmt
pankso@186 23 ./configure \
pankso@186 24 --prefix=/usr \
pankso@186 25 --infodir=/usr/share/info \
pankso@186 26 --mandir=/usr/share/man \
pankso@186 27 --disable-perl \
pankso@912 28 --disable-screensaver \
pankso@912 29 --disable-gtkspell \
pankso@912 30 --disable-gstreamer \
pankso@912 31 --disable-meanwhile \
pankso@912 32 --disable-avahi \
pankso@912 33 --disable-nm \
pankso@912 34 --disable-tcl \
pankso@912 35 --disable-dbus \
pascal@2522 36 $CONFIGURE_ARGS &&
pascal@2522 37 make &&
pankso@41 38 make DESTDIR=$PWD/_pkg install
pankso@41 39 }
pankso@41 40
pankso@41 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 42 genpkg_rules()
pankso@41 43 {
pankso@186 44 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@41 45 cp -a $_pkg/usr/bin $fs/usr
pankso@41 46 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@41 47 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
pankso@41 48 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
pankso@41 49 rm $fs/usr/lib/pidgin/*.la
pankso@41 50 rm $fs/usr/lib/purple-2/*.la
pankso@41 51 cp -a $_pkg/usr/share/purple $fs/usr/share
pankso@41 52 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
pankso@41 53 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@3634 54 # Cook wanted
pankso@3634 55 echo "Cook: pidgin-dev"
pankso@3634 56 echo "Cook: libpurple-dev"
pankso@41 57 }
pankso@41 58