wok-next annotate 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 |
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@2866 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@2866 | 11 WEB_SITE="http://www.xchat.org/" |
pascal@2866 | 12 WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL" |
pascal@2866 | 13 PROVIDE="xchat" |
pascal@2866 | 14 |
pascal@2866 | 15 # Rules to configure and make the package. |
pascal@2866 | 16 compile_rules() |
pascal@2866 | 17 { |
pascal@2866 | 18 cd $src |
pascal@2866 | 19 patch -p1 -i ../stuff/xc286-smallfixes.diff |
pascal@2866 | 20 # gentoo patch for GTK > 2.12 |
pascal@2866 | 21 patch -p1 -i ../stuff/xchat-2.8.6-gtk+-2.13.patch |
pascal@2866 | 22 ./configure --prefix=/usr \ |
pascal@2866 | 23 --infodir=/usr/share/info \ |
pascal@2866 | 24 --mandir=/usr/share/man \ |
pascal@2866 | 25 --disable-tcl \ |
pascal@2866 | 26 --enable-spell=static \ |
pascal@2866 | 27 $CONFIGURE_ARGS && |
pascal@2866 | 28 make && |
pascal@2866 | 29 make DESTDIR=$PWD/_pkg install |
pascal@2866 | 30 } |
pascal@2866 | 31 |
pascal@2866 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2866 | 33 genpkg_rules() |
pascal@2866 | 34 { |
pascal@2866 | 35 mkdir -p $fs/usr \ |
pascal@2866 | 36 $fs/usr/share |
pascal@2866 | 37 cp -a $_pkg/usr/bin $fs/usr |
pascal@2866 | 38 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
pascal@2866 | 39 } |