wok diff hexchat/receipt @ rev 16176

Add: hexchat (2.9.6.1). Suggest removing XChat
author Alexander Medvedev <devl547@gmail.com>
date Sun Mar 30 15:23:23 2014 +0000 (2014-03-30)
parents
children 2cfe2a9f1d5b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hexchat/receipt	Sun Mar 30 15:23:23 2014 +0000
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="hexchat"
     1.7 +VERSION="2.9.6.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="IRC client using GTK+"
    1.10 +MAINTAINER="lenios@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="http://hexchat.github.io/"
    1.14 +WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage python"
    1.17 +BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
    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-plugin \
    1.32 +	  --disable-tcl \
    1.33 +	  --enable-spell=static \
    1.34 +	  --enable-ipv6 \
    1.35 +      $CONFIGURE_ARGS &&
    1.36 +    make &&
    1.37 +    make DESTDIR=$DESTDIR install
    1.38 +}
    1.39 +
    1.40 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 +genpkg_rules()
    1.42 +{
    1.43 +    mkdir -p $fs/usr \
    1.44 +    	$fs/usr/share
    1.45 +    cp -a $install/usr/bin $fs/usr
    1.46 +   # cp -a $install/usr/share/dbus-1 $fs/usr/share
    1.47 +}