wok-6.x view xchat/receipt @ rev 4547

add : libmng
author Allan Pinto <allan316@gmail.com>
date Fri Dec 04 17:00:49 2009 +0000 (2009-12-04)
parents 1566bf62891d
children 3fde486274ad
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="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 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 --enable-ipv6 \
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 }