wok-current annotate xchat-plugin/receipt @ rev 2929

gvim: update path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 07 11:06:49 2009 +0200 (2009-05-07)
parents 1eb2a982b375
children 73c2655d9083
rev   line source
pascal@2866 1 # SliTaz package receipt.
pascal@2866 2
pascal@2866 3 PACKAGE="xchat-plugin"
pascal@2866 4 VERSION="2.8.6"
pascal@2866 5 CATEGORY="network"
pascal@2866 6 SHORT_DESC="IRC client using GTK+ with plugins support"
pascal@2866 7 MAINTAINER="fabrice.thiroux@free.fr"
pascal@2866 8 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
pascal@2866 9 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
pascal@2867 10 SOURCE="xchat"
pascal@2867 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2866 12 WEB_SITE="http://www.xchat.org/"
pascal@2866 13 WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL"
pascal@2866 14 PROVIDE="xchat"
pascal@2866 15
pascal@2866 16 # Rules to configure and make the package.
pascal@2866 17 compile_rules()
pascal@2866 18 {
pascal@2866 19 cd $src
pascal@2866 20 patch -p1 -i ../stuff/xc286-smallfixes.diff
pascal@2866 21 # gentoo patch for GTK > 2.12
pascal@2866 22 patch -p1 -i ../stuff/xchat-2.8.6-gtk+-2.13.patch
pascal@2866 23 ./configure --prefix=/usr \
pascal@2866 24 --infodir=/usr/share/info \
pascal@2866 25 --mandir=/usr/share/man \
pascal@2866 26 --disable-tcl \
pascal@2866 27 --enable-spell=static \
pascal@2866 28 $CONFIGURE_ARGS &&
pascal@2866 29 make &&
pascal@2866 30 make DESTDIR=$PWD/_pkg install
pascal@2866 31 }
pascal@2866 32
pascal@2866 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2866 34 genpkg_rules()
pascal@2866 35 {
pascal@2866 36 mkdir -p $fs/usr \
pascal@2866 37 $fs/usr/share
pascal@2866 38 cp -a $_pkg/usr/bin $fs/usr
pascal@2866 39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
pascal@2866 40 }