wok-4.x view xchat/receipt @ rev 3370
Childsplay: Add post_install()
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 19:05:25 2009 +0000 (2009-06-11) |
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 }