wok annotate pidgin/receipt @ rev 12880

Remove slitaz-fbsplash (broken)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 25 19:46:33 2012 +0200 (2012-05-25)
parents 54381cf19175
children 76116051c3d9
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
slaxemulator@12419 4 VERSION="2.10.3"
pankso@186 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Instant messaging client using GTK+."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pankso@41 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@41 9 WEB_SITE="http://www.pidgin.im/"
pankso@41 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 11
slaxemulator@12419 12 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
slaxemulator@12419 13 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
slaxemulator@12419 14 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
slaxemulator@12419 15 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
slaxemulator@12419 16 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
slaxemulator@12419 17 ncursesw-dev xcb-util-dev gmp-dev"
slaxemulator@12419 18
pankso@41 19 # Rules to configure and make the package.
pankso@41 20 compile_rules()
pankso@41 21 {
pankso@41 22 cd $src
pankso@3634 23 touch pidgin.desktop
pankso@186 24 MSGFMT=/usr/bin/msgfmt
slaxemulator@12419 25
slaxemulator@12419 26 # Pidgin doesn't explicitly link to libm
slaxemulator@12419 27 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pankso@186 28 ./configure \
pankso@186 29 --prefix=/usr \
pankso@186 30 --infodir=/usr/share/info \
pankso@186 31 --mandir=/usr/share/man \
pankso@186 32 --disable-perl \
pankso@912 33 --disable-screensaver \
pankso@912 34 --disable-gtkspell \
pankso@912 35 --disable-gstreamer \
devl547@5548 36 --disable-gstreamer-interfaces \
pankso@912 37 --disable-meanwhile \
pankso@912 38 --disable-avahi \
pankso@912 39 --disable-nm \
pankso@912 40 --disable-tcl \
devl547@5548 41 --disable-tk \
pankso@912 42 --disable-dbus \
devl547@5548 43 --disable-farsight \
pankso@4076 44 --disable-vv \
devl547@5548 45 --disable-idn \
slaxemulator@6212 46 --disable-sm \
pascal@2522 47 $CONFIGURE_ARGS &&
slaxemulator@12419 48 make -j 4 &&
slaxemulator@12419 49 make install
pankso@41 50 }
pankso@41 51
pankso@41 52 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 53 genpkg_rules()
pankso@41 54 {
slaxemulator@12419 55 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
slaxemulator@12419 56 cp -a $install/usr/bin $fs/usr
slaxemulator@12419 57 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@12419 58 cp -a $install/usr/lib/pidgin $fs/usr/lib
slaxemulator@12419 59 cp -a $install/usr/lib/purple-2 $fs/usr/lib
pankso@41 60 rm $fs/usr/lib/pidgin/*.la
pankso@41 61 rm $fs/usr/lib/purple-2/*.la
slaxemulator@12419 62 cp -a $install/usr/share/purple $fs/usr/share
slaxemulator@12419 63 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
slaxemulator@12419 64 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@3634 65 # Cook wanted
pankso@3634 66 echo "Cook: pidgin-dev"
pankso@3634 67 echo "Cook: libpurple-dev"
pankso@41 68 }
pankso@41 69