wok-6.x annotate xchat/receipt @ rev 15057

codiad: use config.example.php
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 10:34:38 2013 +0000 (2013-08-13)
parents 8b52371a81af
children e4fd343fd7b8
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"
pascal@15000 8 LICENSE="GPL2"
erjo@1987 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1987 10 WEB_SITE="http://www.xchat.org/"
erjo@1987 11 WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL"
erjo@1987 12
pascal@15000 13 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
pascal@15000 14 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
pascal@15000 15
erjo@1987 16 # Rules to configure and make the package.
erjo@1987 17 compile_rules()
erjo@1987 18 {
erjo@1987 19 cd $src
pascal@12961 20 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
pascal@12961 21 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
pascal@12961 22 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
pascal@12961 23 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
pascal@12961 24 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
pankso@2587 25 ./configure --prefix=/usr \
pankso@2587 26 --infodir=/usr/share/info \
pankso@2587 27 --mandir=/usr/share/man \
pankso@2587 28 --disable-plugin \
pankso@2587 29 --disable-tcl \
pankso@2587 30 --enable-spell=static \
lenios@3861 31 --enable-ipv6 \
pankso@2587 32 $CONFIGURE_ARGS &&
pascal@2420 33 make &&
pascal@15000 34 make DESTDIR=$DESTDIR install
erjo@1987 35 }
erjo@1987 36
erjo@1987 37 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1987 38 genpkg_rules()
erjo@1987 39 {
erjo@1987 40 mkdir -p $fs/usr \
erjo@1987 41 $fs/usr/share
pascal@15000 42 cp -a $install/usr/bin $fs/usr
pascal@15000 43 # cp -a $install/usr/share/dbus-1 $fs/usr/share
erjo@1987 44 }