wok diff pidgin/receipt @ rev 12825

libffi: we need it in ARM :-)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 13:16:18 2012 +0200 (2012-05-22)
parents 54381cf19175
children 76116051c3d9
line diff
     1.1 --- a/pidgin/receipt	Mon Feb 27 10:43:31 2012 -0800
     1.2 +++ b/pidgin/receipt	Tue May 22 13:16:18 2012 +0200
     1.3 @@ -1,36 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pidgin"
     1.7 -VERSION="2.10.1"
     1.8 +VERSION="2.10.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Instant messaging client using GTK+."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="gtk+ gnutls libgcrypt libgpg-error \
    1.13 -xorg-libXdamage libxml2 libxcb xcb-util libidn libtasn1 nss gmp"
    1.14 -BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
    1.15 -libgpg-error-dev libxml2-dev libxcb-dev \
    1.16 -libidn-dev libtasn1-dev intltool expat-dev nss-dev \
    1.17 -xcb-util-dev optipng gmp-dev"
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19  WEB_SITE="http://www.pidgin.im/"
    1.20  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.21  
    1.22 +DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
    1.23 +xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
    1.24 +BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
    1.25 +startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
    1.26 +libidn-dev libtasn1-dev intltool expat-dev nss-dev \
    1.27 +ncursesw-dev xcb-util-dev gmp-dev"
    1.28 +
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	cd $src
    1.33 -	find | grep .png | xargs optipng -o7
    1.34  	touch pidgin.desktop
    1.35  	MSGFMT=/usr/bin/msgfmt
    1.36 +	
    1.37 +	# Pidgin doesn't explicitly link to libm
    1.38 +	export LDFLAGS="-Wl,--copy-dt-needed-entries"
    1.39  	./configure \
    1.40  		--prefix=/usr \
    1.41  		--infodir=/usr/share/info \
    1.42  		--mandir=/usr/share/man \
    1.43  		--disable-perl \
    1.44 -		--disable-consoleui \
    1.45  		--disable-screensaver \
    1.46  		--disable-gtkspell \
    1.47 -		--disable-startup-notification \
    1.48  		--disable-gstreamer \
    1.49  		--disable-gstreamer-interfaces \
    1.50  		--disable-meanwhile \
    1.51 @@ -43,26 +44,24 @@
    1.52  		--disable-vv \
    1.53  		--disable-idn \
    1.54  		--disable-sm \
    1.55 -		--enable-trayicon-compat \
    1.56  		$CONFIGURE_ARGS &&
    1.57 -	make $MAKEFLAGS &&
    1.58 -	make DESTDIR=$PWD/_pkg install
    1.59 +	make -j 4 &&
    1.60 +	make install
    1.61  }
    1.62  
    1.63  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.64  genpkg_rules()
    1.65  {
    1.66 -	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications
    1.67 -    cp -a $_pkg/usr/bin $fs/usr
    1.68 -    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.69 -    cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
    1.70 -    cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
    1.71 +	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    1.72 +    cp -a $install/usr/bin $fs/usr
    1.73 +    cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.74 +    cp -a $install/usr/lib/pidgin $fs/usr/lib
    1.75 +    cp -a $install/usr/lib/purple-2 $fs/usr/lib
    1.76      rm $fs/usr/lib/pidgin/*.la
    1.77      rm $fs/usr/lib/purple-2/*.la
    1.78 -    cp -a $stuff/pidgin.desktop $fs/usr/share/applications
    1.79 -    cp -a $_pkg/usr/share/purple $fs/usr/share
    1.80 -    cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
    1.81 -    cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
    1.82 +    cp -a $install/usr/share/purple $fs/usr/share
    1.83 +    cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
    1.84 +    cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
    1.85  	# Cook wanted
    1.86  	echo "Cook: pidgin-dev"
    1.87  	echo "Cook: libpurple-dev"