wok-6.x view xchat/receipt @ rev 20748

created package cpige 1.5
author Hans-G?nter Theisgen
date Mon Feb 11 15:42:12 2019 +0100 (2019-02-11)
parents e4fd343fd7b8
children 535c806240cc
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
20 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
21 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
22 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
23 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --disable-plugin \
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 }