wok-4.x annotate pidgin/receipt @ rev 3238

add : Corkscrew
author Allan Pinto <allan316@gmail.com>
date Sat May 30 10:53:01 2009 +0000 (2009-05-30)
parents 9b20db26bb2f
children 61cef885b185
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@912 9 BUILD_DEPENDS="gtk+-dev gnutls-dev libgcrypt-dev libgpg-error-dev
erjo@1385 10 startup-notification-dev libiconv"
pankso@41 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@758 12 SUGGESTED="gnutls"
pankso@41 13 WEB_SITE="http://www.pidgin.im/"
pankso@41 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 15
pankso@41 16 # Rules to configure and make the package.
pankso@41 17 compile_rules()
pankso@41 18 {
pankso@41 19 cd $src
pankso@186 20 MSGFMT=/usr/bin/msgfmt
pankso@186 21 ./configure \
pankso@186 22 --prefix=/usr \
pankso@186 23 --infodir=/usr/share/info \
pankso@186 24 --mandir=/usr/share/man \
pankso@186 25 --disable-perl \
pankso@912 26 --disable-screensaver \
pankso@912 27 --disable-gtkspell \
pankso@912 28 --disable-gstreamer \
pankso@912 29 --disable-meanwhile \
pankso@912 30 --disable-avahi \
pankso@912 31 --disable-nm \
pankso@912 32 --disable-tcl \
pankso@912 33 --disable-dbus \
pascal@2522 34 $CONFIGURE_ARGS &&
pascal@2522 35 make &&
pankso@41 36 make DESTDIR=$PWD/_pkg install
pankso@41 37 }
pankso@41 38
pankso@41 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 40 genpkg_rules()
pankso@41 41 {
pankso@186 42 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@41 43 cp -a $_pkg/usr/bin $fs/usr
pankso@41 44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@41 45 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
pankso@41 46 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
pankso@41 47 rm $fs/usr/lib/pidgin/*.la
pankso@41 48 rm $fs/usr/lib/purple-2/*.la
pankso@41 49 cp -a $_pkg/usr/share/purple $fs/usr/share
pankso@41 50 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
pankso@41 51 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@41 52 }
pankso@41 53