wok annotate xchat/receipt @ rev 14234

linux: update wget_url, use ftp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 22 09:04:12 2013 +0100 (2013-03-22)
parents d1768332cee0
children 380ffe05937a
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
pascal@12961 18 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
pascal@12961 19 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
pascal@12961 20 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
pascal@12961 21 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
pascal@12961 22 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
pankso@2587 23 ./configure --prefix=/usr \
pankso@2587 24 --infodir=/usr/share/info \
pankso@2587 25 --mandir=/usr/share/man \
pankso@2587 26 --disable-plugin \
pankso@2587 27 --disable-tcl \
pankso@2587 28 --enable-spell=static \
lenios@3861 29 --enable-ipv6 \
pankso@2587 30 $CONFIGURE_ARGS &&
pascal@2420 31 make &&
erjo@1987 32 make DESTDIR=$PWD/_pkg install
erjo@1987 33 }
erjo@1987 34
erjo@1987 35 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1987 36 genpkg_rules()
erjo@1987 37 {
erjo@1987 38 mkdir -p $fs/usr \
erjo@1987 39 $fs/usr/share
erjo@1987 40 cp -a $_pkg/usr/bin $fs/usr
erjo@5899 41 # cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
erjo@1987 42 }