wok-current view xchat/receipt @ rev 3173

Up kqemu (1.4.0pre1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 25 09:12:59 2009 +0200 (2009-05-25)
parents 6f3bc8e21c2a
children 1566bf62891d
line source
1 # SliTaz package receipt.
3 PACKAGE="xchat"
4 VERSION="2.8.6"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 -i ../stuff/xc286-smallfixes.diff
19 # gentoo patch for GTK > 2.12
20 patch -p1 -i ../stuff/xchat-2.8.6-gtk+-2.13.patch
21 ./configure --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --disable-plugin \
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 }