wok annotate xchat-plugin/receipt @ rev 5519

Up: slang (2.2.2)
author Alexander Medvedev <devl547@gmail.com>
date Mon May 10 23:58:56 2010 +0000 (2010-05-10)
parents 73c2655d9083
children 3fde486274ad
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"
lenios@3863 7 MAINTAINER="lenios@slitaz.org"
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 \
lenios@3862 28 --enable-ipv6 \
pascal@2866 29 $CONFIGURE_ARGS &&
pascal@2866 30 make &&
pascal@2866 31 make DESTDIR=$PWD/_pkg install
pascal@2866 32 }
pascal@2866 33
pascal@2866 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2866 35 genpkg_rules()
pascal@2866 36 {
pascal@2866 37 mkdir -p $fs/usr \
pascal@2866 38 $fs/usr/share
pascal@2866 39 cp -a $_pkg/usr/bin $fs/usr
pascal@2866 40 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
pascal@2866 41 }