wok-stable annotate xchat/receipt @ rev 6102
gettext: breaks build_depends loop with gcc+gcj, glib & gtk+
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 03 10:24:10 2010 +0200 (2010-09-03) |
parents | 3239353ef034 |
children | d1768332cee0 |
rev | line source |
---|---|
erjo@1987 | 1 # SliTaz package receipt. |
erjo@1987 | 2 |
erjo@1987 | 3 PACKAGE="xchat" |
erjo@5899 | 4 VERSION="2.8.8" |
erjo@1987 | 5 CATEGORY="network" |
erjo@1987 | 6 SHORT_DESC="IRC client using GTK+" |
lenios@3863 | 7 MAINTAINER="lenios@slitaz.org" |
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@5899 | 18 #patch -p1 -i ../stuff/xc286-smallfixes.diff |
pankso@2587 | 19 # gentoo patch for GTK > 2.12 |
erjo@5899 | 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 \ |
lenios@3861 | 27 --enable-ipv6 \ |
pankso@2587 | 28 $CONFIGURE_ARGS && |
pascal@2420 | 29 make && |
erjo@1987 | 30 make DESTDIR=$PWD/_pkg install |
erjo@1987 | 31 } |
erjo@1987 | 32 |
erjo@1987 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1987 | 34 genpkg_rules() |
erjo@1987 | 35 { |
erjo@1987 | 36 mkdir -p $fs/usr \ |
erjo@1987 | 37 $fs/usr/share |
erjo@1987 | 38 cp -a $_pkg/usr/bin $fs/usr |
erjo@5899 | 39 # cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
erjo@1987 | 40 } |