wok annotate xchat-plugin/receipt @ rev 15469

memtest/bootloader.S: fix dos exit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 08 12:52:29 2013 +0000 (2013-11-08)
parents da67a92d3e79
children e4fd343fd7b8
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@15000 8 LICENSE="GPL2"
pascal@2867 9 SOURCE="xchat"
pascal@2867 10 TARBALL="$SOURCE-$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@15000 15 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
pascal@15000 16 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
pascal@15000 17
pascal@2866 18 # Rules to configure and make the package.
pascal@2866 19 compile_rules()
pascal@2866 20 {
pascal@2866 21 cd $src
pascal@12962 22 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
pascal@12962 23 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
pascal@12962 24 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
pascal@12962 25 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
pascal@12962 26 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
pascal@2866 27 ./configure --prefix=/usr \
pascal@2866 28 --infodir=/usr/share/info \
pascal@2866 29 --mandir=/usr/share/man \
pascal@2866 30 --disable-tcl \
pascal@2866 31 --enable-spell=static \
lenios@3862 32 --enable-ipv6 \
pascal@2866 33 $CONFIGURE_ARGS &&
pascal@2866 34 make &&
pascal@15000 35 make DESTDIR=$DESTDIR install
pascal@2866 36 }
pascal@2866 37
pascal@2866 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2866 39 genpkg_rules()
pascal@2866 40 {
pascal@2866 41 mkdir -p $fs/usr \
pascal@2866 42 $fs/usr/share
pascal@15000 43 cp -a $install/usr/bin $fs/usr
pascal@15000 44 # cp -a $install/usr/share/dbus-1 $fs/usr/share
pascal@2866 45 }