wok-next rev 20125

Up centerim (5.0.1), add libpurple
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 09:48:47 2017 +0100 (2017-10-31)
parents 59ccd95dfb85
children c46076e02bcc
files centerim/receipt pidgin/receipt
line diff
     1.1 --- a/centerim/receipt	Tue Oct 31 09:20:03 2017 +0100
     1.2 +++ b/centerim/receipt	Tue Oct 31 09:48:47 2017 +0100
     1.3 @@ -1,24 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="centerim"
     1.7 -VERSION="4.22.10"
     1.8 +VERSION="5.0.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Console mode IM"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +TARBALL="centerim5-$VERSION.tar.gz"
    1.15  WEB_SITE="http://www.centerim.org"
    1.16 -WGET_URL="$WEB_SITE/download/releases/$TARBALL"
    1.17 +WGET_URL="$WEB_SITE/download/cim5/$TARBALL"
    1.18  TAGS="im instant-messenger cli command-line"
    1.19  
    1.20  DEPENDS="ncurses curl libssl libidn libgpg-error gpgme"
    1.21  BUILD_DEPENDS="ncurses-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \
    1.22 -gpgme-dev"
    1.23 +gpgme-dev libpurple-dev libsigc++-dev libxml2-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	sed -i 's/<list>/&\n#include <stdio.h>/' libicq2000/libicq2000/sigslot.h
    1.29  	mkdir -p $DESTDIR/usr
    1.30  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.31  	make && make install
    1.32 @@ -27,8 +26,7 @@
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr/share
    1.37 +	mkdir -p $fs/usr
    1.38  	cp -a $install/usr/bin $fs/usr
    1.39 -	cp -a $install/usr/share/centerim $fs/usr/share	
    1.40 +	cp -a $install/usr/lib $fs/usr
    1.41  }
    1.42 -
     2.1 --- a/pidgin/receipt	Tue Oct 31 09:20:03 2017 +0100
     2.2 +++ b/pidgin/receipt	Tue Oct 31 09:48:47 2017 +0100
     2.3 @@ -13,7 +13,7 @@
     2.4  startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
     2.5  libidn-dev libtasn1-dev intltool expat-dev nss-dev \
     2.6  ncurses-dev xcb-util-dev gmp-dev"
     2.7 -SPLIT="libpurple-dev pidgin pidgin-dev"
     2.8 +SPLIT="libpurple libpurple-dev pidgin pidgin-dev"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
    2.12 @@ -53,7 +53,7 @@
    2.13  	case $PACKAGE in
    2.14  	pidgin)
    2.15  		PROVIDE="purple"
    2.16 -		DEPENDS="gtk+ gnutls libgcrypt libgpg-error \
    2.17 +		DEPENDS="gtk+ gnutls libgcrypt libgpg-error libpurple \
    2.18  			startup-notification gmp xorg-libXdamage libxml2 \
    2.19  			libxcb xcb-util libidn ncurses libtasn1 nss"
    2.20  		mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    2.21 @@ -63,6 +63,8 @@
    2.22  		cp -a $install/usr/lib/purple-2 $fs/usr/lib
    2.23  		rm $fs/usr/lib/pidgin/*.la
    2.24  		rm $fs/usr/lib/purple-2/*.la
    2.25 +		rm $fs/usr/lib/pidgin/*.so*
    2.26 +		rm $fs/usr/lib/purple-2/*.so*
    2.27  		cp -a $install/usr/share/purple $fs/usr/share
    2.28  		cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
    2.29  		cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
    2.30 @@ -76,9 +78,15 @@
    2.31  		cp -a $install/usr/include/pidgin $fs/usr/include
    2.32  		cp -a $install/usr/share/aclocal $fs/usr/share
    2.33  		;;
    2.34 +	libpurple)
    2.35 +		CAT="network|Purple library."
    2.36 +		mkdir -p $fs/usr/lib/purple-2
    2.37 +		cp -a $install/usr/lib/libpurple.so* $fs/usr/lib
    2.38 +		cp -a $install/usr/lib/purple-2/*.so* $fs/usr/lib/purple-2
    2.39 +		;;
    2.40  	libpurple-dev)
    2.41  		CAT="development|Purple library devel files."
    2.42 -		DEPENDS="pkg-config"
    2.43 +		DEPENDS="pkg-config glib-dev libpurple"
    2.44  		mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/purple-2 $fs/usr/include/libpurple
    2.45  		cp -a $install/usr/lib/libpurple.la $fs/usr/lib
    2.46  		cp -a $install/usr/lib/purple-2/*.la $fs/usr/lib/purple-2