wok view xchat/receipt @ rev 14578
wicd/stuff/wicd: rm -f wicd.pid for clean stop
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat May 25 23:21:16 2013 +0000 (2013-05-25) |
parents | d1768332cee0 |
children | 380ffe05937a |
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 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xchat.org/"
12 WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
19 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
20 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
21 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
22 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
23 ./configure --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --disable-plugin \
27 --disable-tcl \
28 --enable-spell=static \
29 --enable-ipv6 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr \
39 $fs/usr/share
40 cp -a $_pkg/usr/bin $fs/usr
41 # cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
42 }