wok view xchat-plugin/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents 3fde486274ad
children da67a92d3e79
line source
1 # SliTaz package receipt.
3 PACKAGE="xchat-plugin"
4 VERSION="2.8.8"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+ with plugins support"
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 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 --enable-ipv6 \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr \
38 $fs/usr/share
39 cp -a $_pkg/usr/bin $fs/usr
40 # cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
41 }