wok-backports diff pidgin/receipt @ rev 55

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 27 17:46:33 2019 +0100 (2019-02-27)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pidgin/receipt	Wed Feb 27 17:46:33 2019 +0100
     1.3 @@ -0,0 +1,71 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pidgin"
     1.7 +VERSION="2.10.9"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Instant messaging client using GTK+."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.pidgin.im/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +PROVIDE="purple"
    1.16 +
    1.17 +DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
    1.18 +xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
    1.19 +BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
    1.20 +startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
    1.21 +libidn-dev libtasn1-dev intltool expat-dev nss-dev \
    1.22 +ncursesw-dev xcb-util-dev gmp-dev"
    1.23 +
    1.24 +# Rules to configure and make the package.
    1.25 +compile_rules()
    1.26 +{
    1.27 +	cd $src
    1.28 +	touch pidgin.desktop
    1.29 +	MSGFMT=/usr/bin/msgfmt
    1.30 +	
    1.31 +	# Pidgin doesn't explicitly link to libm
    1.32 +	export LDFLAGS="-Wl,--copy-dt-needed-entries"
    1.33 +	./configure \
    1.34 +		--prefix=/usr \
    1.35 +		--infodir=/usr/share/info \
    1.36 +		--mandir=/usr/share/man \
    1.37 +		--disable-perl \
    1.38 +		--disable-screensaver \
    1.39 +		--disable-gtkspell \
    1.40 +		--disable-gstreamer \
    1.41 +		--disable-gstreamer-interfaces \
    1.42 +		--disable-meanwhile \
    1.43 +		--disable-avahi \
    1.44 +		--disable-nm \
    1.45 +		--disable-tcl \
    1.46 +		--disable-tk \
    1.47 +		--disable-dbus \
    1.48 +		--disable-farsight \
    1.49 +		--disable-vv \
    1.50 +		--disable-idn \
    1.51 +		--disable-sm \
    1.52 +		$CONFIGURE_ARGS &&
    1.53 +	make -j 4 &&
    1.54 +	make install
    1.55 +}
    1.56 +
    1.57 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.58 +genpkg_rules()
    1.59 +{
    1.60 +	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    1.61 +    cp -a $install/usr/bin $fs/usr
    1.62 +    cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.63 +    cp -a $install/usr/lib/pidgin $fs/usr/lib
    1.64 +    cp -a $install/usr/lib/purple-2 $fs/usr/lib
    1.65 +    rm $fs/usr/lib/pidgin/*.la
    1.66 +    rm $fs/usr/lib/purple-2/*.la
    1.67 +    cp -a $install/usr/share/purple $fs/usr/share
    1.68 +    cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
    1.69 +    cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
    1.70 +	# Cook wanted
    1.71 +	echo "Cook: pidgin-dev"
    1.72 +	echo "Cook: libpurple-dev"
    1.73 +}
    1.74 +