wok-4.x annotate xchat-plugin/receipt @ rev 9469

distcc: Add init script
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Apr 04 00:25:20 2011 +0200 (2011-04-04)
parents 3239353ef034
children d1768332cee0
rev   line source
pascal@2866 1 # SliTaz package receipt.
pascal@2866 2
pascal@2866 3 PACKAGE="xchat-plugin"
erjo@5899 4 VERSION="2.8.8"
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
erjo@5899 20 #patch -p1 -i ../stuff/xc286-smallfixes.diff
erjo@5899 21 # gentoo patch for GTK > 2.12
erjo@5899 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
erjo@5899 40 # cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
pascal@2866 41 }