wok annotate xchat/receipt @ rev 18984

clementine: update bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 16 21:28:57 2016 +0200 (2016-03-16)
parents e4fd343fd7b8
children 535c806240cc
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"
mojo@17527 14 BUILD_DEPENDS="gtk+-dev dbus-dev openssl-dev shared-mime-info"
pascal@15000 15
erjo@1987 16 # Rules to configure and make the package.
erjo@1987 17 compile_rules()
erjo@1987 18 {
al@16885 19 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
al@16885 20 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
al@16885 21 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
al@16885 22 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
al@16885 23 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
al@16885 24
al@16885 25 ./configure \
al@16885 26 --prefix=/usr \
al@16885 27 --infodir=/usr/share/info \
al@16885 28 --mandir=/usr/share/man \
al@16885 29 --disable-plugin \
al@16885 30 --disable-tcl \
al@16885 31 --enable-spell=static \
al@16885 32 --enable-ipv6 \
al@16885 33 $CONFIGURE_ARGS &&
al@16885 34 make &&
al@16885 35 make DESTDIR=$DESTDIR install
erjo@1987 36 }
erjo@1987 37
erjo@1987 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1987 39 genpkg_rules()
erjo@1987 40 {
al@16885 41 mkdir -p $fs/usr
al@16885 42 cp -a $install/usr/bin $fs/usr
al@16885 43 # cp -a $install/usr/share/dbus-1 $fs/usr/share
erjo@1987 44 }