wok-current view xchat/receipt @ rev 24503
updated dulwich (0.19.14 -> 0.19.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 10:36:29 2022 +0100 (2022-02-20) |
parents | ec1c047ea51f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xchat"
4 VERSION="2.8.8"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xchat.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev dbus-dev openssl-dev shared-mime-info"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Source:/!d;s|.*rce: ||;s|<.*||'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
27 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
28 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
29 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
30 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --disable-plugin \
37 --disable-tcl \
38 --enable-spell=static \
39 --enable-ipv6 \
40 $CONFIGURE_ARGS &&
41 make &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 cp -a $install/usr/bin $fs/usr
50 # cp -a $install/usr/share/dbus-1 $fs/usr/share
51 }