wok view xchat-plugin/receipt @ rev 3213

pan: update build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 28 11:47:11 2009 +0200 (2009-05-28)
parents 1eb2a982b375
children 73c2655d9083
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 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 patch -p1 -i ../stuff/xc286-smallfixes.diff
21 # gentoo patch for GTK > 2.12
22 patch -p1 -i ../stuff/xchat-2.8.6-gtk+-2.13.patch
23 ./configure --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --disable-tcl \
27 --enable-spell=static \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr \
37 $fs/usr/share
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
40 }