wok-next annotate xchat/receipt @ rev 20272

Update cups (thanks Aleksej)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 09:48:17 2017 +0100 (2017-11-08)
parents ec1c047ea51f
children 10df65db91ad
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"
al@16885 9 WEB_SITE="http://www.xchat.org/"
erjo@1987 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@16885 11 WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL"
erjo@1987 12
al@16885 13 DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
pascal@20214 14 BUILD_DEPENDS="gtk+-dev dbus-dev openssl-dev shared-mime-info \
pascal@20214 15 gettext-tools perl-dev"
pascal@15000 16
erjo@1987 17 # Rules to configure and make the package.
erjo@1987 18 compile_rules()
erjo@1987 19 {
al@16885 20 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
al@16885 21 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
al@16885 22 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
al@16885 23 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
al@16885 24 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
al@16885 25
al@16885 26 ./configure \
al@16885 27 --prefix=/usr \
al@16885 28 --infodir=/usr/share/info \
al@16885 29 --mandir=/usr/share/man \
al@16885 30 --disable-plugin \
al@16885 31 --disable-tcl \
al@16885 32 --enable-spell=static \
al@16885 33 --enable-ipv6 \
al@16885 34 $CONFIGURE_ARGS &&
al@16885 35 make &&
al@16885 36 make DESTDIR=$DESTDIR install
erjo@1987 37 }
erjo@1987 38
erjo@1987 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1987 40 genpkg_rules()
erjo@1987 41 {
al@16885 42 mkdir -p $fs/usr
al@16885 43 cp -a $install/usr/bin $fs/usr
al@16885 44 # cp -a $install/usr/share/dbus-1 $fs/usr/share
erjo@1987 45 }