wok-6.x annotate xchat-plugin/receipt @ rev 18980

Up: New wallpapers and new mirror.
author Leonardo Laporte <hackdorte@sapo.pt>
date Tue Mar 15 05:30:13 2016 -0300 (2016-03-15)
parents 380ffe05937a
children 535c806240cc
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"
al@16885 9 WEB_SITE="http://www.xchat.org/"
pascal@2867 10 SOURCE="xchat"
pascal@2867 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
al@16885 12 WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL"
pascal@2866 13 PROVIDE="xchat"
pascal@2866 14
al@16885 15 DEPENDS="gtk+ dbus openssl gettext-base 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 {
al@16885 21 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
al@16885 22 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
al@16885 23 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
al@16885 24 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
al@16885 25 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
al@16885 26
al@16885 27 ./configure \
al@16885 28 --prefix=/usr \
al@16885 29 --infodir=/usr/share/info \
al@16885 30 --mandir=/usr/share/man \
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
pascal@2866 37 }
pascal@2866 38
pascal@2866 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2866 40 genpkg_rules()
pascal@2866 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
pascal@2866 45 }