wok-current diff xchat-plugin/receipt @ rev 17786

Up: libevent 2.0.22
author Alexander Medvedev <devl547@gmail.com>
date Sat Mar 14 21:45:49 2015 +0000 (2015-03-14)
parents 380ffe05937a
children 535c806240cc
line diff
     1.1 --- a/xchat-plugin/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/xchat-plugin/receipt	Sat Mar 14 21:45:49 2015 +0000
     1.3 @@ -6,40 +6,40 @@
     1.4  SHORT_DESC="IRC client using GTK+ with plugins support"
     1.5  MAINTAINER="lenios@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 +WEB_SITE="http://www.xchat.org/"
     1.8  SOURCE="xchat"
     1.9  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.10 -WEB_SITE="http://www.xchat.org/"
    1.11 -WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL"
    1.12 +WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL"
    1.13  PROVIDE="xchat"
    1.14  
    1.15 -DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
    1.16 +DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
    1.17  BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -    cd $src
    1.23 -    sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
    1.24 -	   -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
    1.25 -	   -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
    1.26 -    sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
    1.27 -    sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
    1.28 -    ./configure  --prefix=/usr \
    1.29 -	  --infodir=/usr/share/info \
    1.30 -	  --mandir=/usr/share/man \
    1.31 -	  --disable-tcl \
    1.32 -	  --enable-spell=static \
    1.33 -	  --enable-ipv6 \
    1.34 -      $CONFIGURE_ARGS &&
    1.35 -    make &&
    1.36 -    make DESTDIR=$DESTDIR install
    1.37 +	sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
    1.38 +		-e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
    1.39 +		-e 's|glib/gutils.h|glib.h|' src/common/xchat.h
    1.40 +	sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
    1.41 +	sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
    1.42 +
    1.43 +	./configure \
    1.44 +		--prefix=/usr \
    1.45 +		--infodir=/usr/share/info \
    1.46 +		--mandir=/usr/share/man \
    1.47 +		--disable-tcl \
    1.48 +		--enable-spell=static \
    1.49 +		--enable-ipv6 \
    1.50 +		$CONFIGURE_ARGS &&
    1.51 +	make &&
    1.52 +	make DESTDIR=$DESTDIR install
    1.53  }
    1.54  
    1.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.56  genpkg_rules()
    1.57  {
    1.58 -    mkdir -p $fs/usr \
    1.59 -    	$fs/usr/share
    1.60 -    cp -a $install/usr/bin $fs/usr
    1.61 -#    cp -a $install/usr/share/dbus-1 $fs/usr/share
    1.62 +	mkdir -p $fs/usr
    1.63 +	cp -a $install/usr/bin $fs/usr
    1.64 +	# cp -a $install/usr/share/dbus-1 $fs/usr/share
    1.65  }