wok-6.x annotate xchat-plugin/receipt @ rev 13739

Add xorg-xhost
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 26 13:41:24 2012 +0100 (2012-12-26)
parents d1768332cee0
children 380ffe05937a
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
pascal@12962 20 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
pascal@12962 21 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
pascal@12962 22 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
pascal@12962 23 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
pascal@12962 24 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
pascal@2866 25 ./configure --prefix=/usr \
pascal@2866 26 --infodir=/usr/share/info \
pascal@2866 27 --mandir=/usr/share/man \
pascal@2866 28 --disable-tcl \
pascal@2866 29 --enable-spell=static \
lenios@3862 30 --enable-ipv6 \
pascal@2866 31 $CONFIGURE_ARGS &&
pascal@2866 32 make &&
pascal@2866 33 make DESTDIR=$PWD/_pkg install
pascal@2866 34 }
pascal@2866 35
pascal@2866 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2866 37 genpkg_rules()
pascal@2866 38 {
pascal@2866 39 mkdir -p $fs/usr \
pascal@2866 40 $fs/usr/share
pascal@2866 41 cp -a $_pkg/usr/bin $fs/usr
erjo@5899 42 # cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
pascal@2866 43 }