wok-current view hexchat-plugin/receipt @ rev 23948

Add barrage & penguin-command (thanks rerievo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 16:26:50 2020 +0000 (2020-09-20)
parents 0dbc08309d5e
children af8d823a3077
line source
1 # SliTaz package receipt.
3 PACKAGE="hexchat-plugin"
4 VERSION="2.10.2"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+ with plugins support"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://hexchat.github.io/"
10 SOURCE="hexchat"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
13 PROVIDE="hexchat"
15 DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage python"
16 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
22 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.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
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --disable-tcl \
31 --enable-spell=static \
32 --enable-ipv6 \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 # cp -a $install/usr/share/dbus-1 $fs/usr/share
44 }