wok view xchat-plugin/receipt @ rev 2866
Add xchat-plugin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 02 17:32:59 2009 +0200 (2009-05-02) |
parents | |
children | 7a50c39a4852 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xchat-plugin"
4 VERSION="2.8.6"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+ with plugins support"
7 MAINTAINER="fabrice.thiroux@free.fr"
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"
13 PROVIDE="xchat"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p1 -i ../stuff/xc286-smallfixes.diff
20 # gentoo patch for GTK > 2.12
21 patch -p1 -i ../stuff/xchat-2.8.6-gtk+-2.13.patch
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-tcl \
26 --enable-spell=static \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr \
36 $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
39 }