wok view xchat-plugin/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents e4fd343fd7b8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xchat-plugin"
4 VERSION="2.8.8"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+ with plugins support"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xchat.org/"
10 SOURCE="xchat"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL"
13 PROVIDE="xchat"
15 DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
16 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Source:/!d;s|.*rce: ||;s|<.*||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
29 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
30 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
31 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
32 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
34 ./configure \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --mandir=/usr/share/man \
38 --disable-tcl \
39 --enable-spell=static \
40 --enable-ipv6 \
41 $CONFIGURE_ARGS &&
42 make &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr
50 cp -a $install/usr/bin $fs/usr
51 # cp -a $install/usr/share/dbus-1 $fs/usr/share
52 }