wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="hexchat"
4 VERSION="2.9.6.1"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://hexchat.github.io/"
11 WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
13 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage python"
14 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
21 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
22 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
23 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
24 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
25 ./configure --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --disable-plugin \
29 --disable-tcl \
30 --enable-spell=static \
31 --enable-ipv6 \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr \
41 $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 # cp -a $install/usr/share/dbus-1 $fs/usr/share
44 }