wok 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 63198d8bd812
children 7488364630bc
files hexchat-plugin/receipt hexchat/description.txt hexchat/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hexchat-plugin/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-plugin"
     1.7 +VERSION="2.9.6.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="IRC client using GTK+ with plugins support"
    1.10 +MAINTAINER="lenios@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +SOURCE="hexchat"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.14 +WEB_SITE="http://hexchat.github.io/"
    1.15 +WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
    1.16 +PROVIDE="hexchat"
    1.17 +
    1.18 +DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage python"
    1.19 +BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +    cd $src
    1.25 +    sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
    1.26 +	   -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|'
    1.27 +    sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
    1.28 +    sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
    1.29 +    ./configure  --prefix=/usr \
    1.30 +	  --infodir=/usr/share/info \
    1.31 +	  --mandir=/usr/share/man \
    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 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/hexchat/description.txt	Sun Mar 30 15:23:23 2014 +0000
     2.3 @@ -0,0 +1,5 @@
     2.4 +HexChat is an IRC chat program for both Linux and Windows. It allows you to join 
     2.5 +multiple IRC channels (chat rooms) at the same time, talk publicly, private one-
     2.6 +on-one conversations etc. Even file transfers are possible. 
     2.7 +
     2.8 +HexChat is a replacement of looks-to-be-dead XChat.
     2.9 \ No newline at end of file
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/hexchat/receipt	Sun Mar 30 15:23:23 2014 +0000
     3.3 @@ -0,0 +1,44 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="hexchat"
     3.7 +VERSION="2.9.6.1"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="IRC client using GTK+"
    3.10 +MAINTAINER="lenios@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.13 +WEB_SITE="http://hexchat.github.io/"
    3.14 +WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
    3.15 +
    3.16 +DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage python"
    3.17 +BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +    cd $src
    3.23 +    sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
    3.24 +	   -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
    3.25 +	   -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
    3.26 +    sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
    3.27 +    sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
    3.28 +    ./configure  --prefix=/usr \
    3.29 +	  --infodir=/usr/share/info \
    3.30 +	  --mandir=/usr/share/man \
    3.31 +	  --disable-plugin \
    3.32 +	  --disable-tcl \
    3.33 +	  --enable-spell=static \
    3.34 +	  --enable-ipv6 \
    3.35 +      $CONFIGURE_ARGS &&
    3.36 +    make &&
    3.37 +    make DESTDIR=$DESTDIR install
    3.38 +}
    3.39 +
    3.40 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.41 +genpkg_rules()
    3.42 +{
    3.43 +    mkdir -p $fs/usr \
    3.44 +    	$fs/usr/share
    3.45 +    cp -a $install/usr/bin $fs/usr
    3.46 +   # cp -a $install/usr/share/dbus-1 $fs/usr/share
    3.47 +}