wok-6.x diff xchat-plugin/receipt @ rev 2866

Add xchat-plugin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 02 17:32:59 2009 +0200 (2009-05-02)
parents
children 7a50c39a4852
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xchat-plugin/receipt	Sat May 02 17:32:59 2009 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xchat-plugin"
     1.7 +VERSION="2.8.6"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="IRC client using GTK+ with plugins support"
    1.10 +MAINTAINER="fabrice.thiroux@free.fr"
    1.11 +DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
    1.12 +BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.xchat.org/"
    1.15 +WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL"
    1.16 +PROVIDE="xchat"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +    cd $src
    1.22 +    patch -p1 -i ../stuff/xc286-smallfixes.diff
    1.23 +	# gentoo patch for GTK > 2.12
    1.24 +    patch -p1 -i ../stuff/xchat-2.8.6-gtk+-2.13.patch 
    1.25 +    ./configure  --prefix=/usr \
    1.26 +	  --infodir=/usr/share/info \
    1.27 +	  --mandir=/usr/share/man \
    1.28 +	  --disable-tcl \
    1.29 +	  --enable-spell=static \
    1.30 +      $CONFIGURE_ARGS &&
    1.31 +    make &&
    1.32 +    make DESTDIR=$PWD/_pkg install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +    mkdir -p $fs/usr \
    1.39 +    	$fs/usr/share
    1.40 +    cp -a $_pkg/usr/bin $fs/usr
    1.41 +    cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    1.42 +}