# HG changeset patch # User Alexander Medvedev # Date 1396193003 0 # Node ID 50db555395903c62b326a1de7f3624e2562879ed # Parent 63198d8bd81281572762b717899c34f42f9f1748 Add: hexchat (2.9.6.1). Suggest removing XChat diff -r 63198d8bd812 -r 50db55539590 hexchat-plugin/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hexchat-plugin/receipt Sun Mar 30 15:23:23 2014 +0000 @@ -0,0 +1,44 @@ +# SliTaz package receipt. + +PACKAGE="hexchat-plugin" +VERSION="2.9.6.1" +CATEGORY="network" +SHORT_DESC="IRC client using GTK+ with plugins support" +MAINTAINER="lenios@slitaz.org" +LICENSE="GPL2" +SOURCE="hexchat" +TARBALL="$SOURCE-$VERSION.tar.xz" +WEB_SITE="http://hexchat.github.io/" +WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL" +PROVIDE="hexchat" + +DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage python" +BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ + -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' + sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c + sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c + ./configure --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --disable-tcl \ + --enable-spell=static \ + --enable-ipv6 \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr \ + $fs/usr/share + cp -a $install/usr/bin $fs/usr +# cp -a $install/usr/share/dbus-1 $fs/usr/share +} diff -r 63198d8bd812 -r 50db55539590 hexchat/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hexchat/description.txt Sun Mar 30 15:23:23 2014 +0000 @@ -0,0 +1,5 @@ +HexChat is an IRC chat program for both Linux and Windows. It allows you to join +multiple IRC channels (chat rooms) at the same time, talk publicly, private one- +on-one conversations etc. Even file transfers are possible. + +HexChat is a replacement of looks-to-be-dead XChat. \ No newline at end of file diff -r 63198d8bd812 -r 50db55539590 hexchat/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hexchat/receipt Sun Mar 30 15:23:23 2014 +0000 @@ -0,0 +1,44 @@ +# SliTaz package receipt. + +PACKAGE="hexchat" +VERSION="2.9.6.1" +CATEGORY="network" +SHORT_DESC="IRC client using GTK+" +MAINTAINER="lenios@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WEB_SITE="http://hexchat.github.io/" +WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL" + +DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage python" +BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ + -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \ + -e 's|glib/gutils.h|glib.h|' src/common/xchat.h + sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c + sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c + ./configure --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --disable-plugin \ + --disable-tcl \ + --enable-spell=static \ + --enable-ipv6 \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr \ + $fs/usr/share + cp -a $install/usr/bin $fs/usr + # cp -a $install/usr/share/dbus-1 $fs/usr/share +}