wok-6.x annotate xchat/receipt @ rev 2587
xchat: fix build with GTK > 2.12 (Thanks Fabrice)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 07 21:22:01 2009 +0200 (2009-04-07) |
parents | 6f3bc8e21c2a |
children | 1566bf62891d |
rev | line source |
---|---|
erjo@1987 | 1 # SliTaz package receipt. |
erjo@1987 | 2 |
erjo@1987 | 3 PACKAGE="xchat" |
erjo@1987 | 4 VERSION="2.8.6" |
erjo@1987 | 5 CATEGORY="network" |
erjo@1987 | 6 SHORT_DESC="IRC client using GTK+" |
erjo@1987 | 7 MAINTAINER="fabrice.thiroux@free.fr" |
pankso@2587 | 8 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage" |
pankso@2587 | 9 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info" |
erjo@1987 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1987 | 11 WEB_SITE="http://www.xchat.org/" |
erjo@1987 | 12 WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL" |
erjo@1987 | 13 |
erjo@1987 | 14 # Rules to configure and make the package. |
erjo@1987 | 15 compile_rules() |
erjo@1987 | 16 { |
erjo@1987 | 17 cd $src |
erjo@1987 | 18 patch -p1 -i ../stuff/xc286-smallfixes.diff |
pankso@2587 | 19 # gentoo patch for GTK > 2.12 |
pankso@2587 | 20 patch -p1 -i ../stuff/xchat-2.8.6-gtk+-2.13.patch |
pankso@2587 | 21 ./configure --prefix=/usr \ |
pankso@2587 | 22 --infodir=/usr/share/info \ |
pankso@2587 | 23 --mandir=/usr/share/man \ |
pankso@2587 | 24 --disable-plugin \ |
pankso@2587 | 25 --disable-tcl \ |
pankso@2587 | 26 --enable-spell=static \ |
pankso@2587 | 27 $CONFIGURE_ARGS && |
pascal@2420 | 28 make && |
erjo@1987 | 29 make DESTDIR=$PWD/_pkg install |
erjo@1987 | 30 } |
erjo@1987 | 31 |
erjo@1987 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1987 | 33 genpkg_rules() |
erjo@1987 | 34 { |
erjo@1987 | 35 mkdir -p $fs/usr \ |
erjo@1987 | 36 $fs/usr/share |
erjo@1987 | 37 cp -a $_pkg/usr/bin $fs/usr |
erjo@1987 | 38 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
erjo@1987 | 39 } |