wok view xchat-plugin/receipt @ rev 13360

Add redshift
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 12 10:58:59 2012 +0200 (2012-09-12)
parents d1768332cee0
children 380ffe05937a
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 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
10 SOURCE="xchat"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xchat.org/"
13 WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL"
14 PROVIDE="xchat"
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-tcl \
29 --enable-spell=static \
30 --enable-ipv6 \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr \
40 $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 # cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
43 }