wok annotate xchat-plugin/receipt @ rev 17180
virtualbox-ose;strigi;libjreen;qca;qtractor: remove meta "qt4" depend; libQtCore:pthreads required
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Sep 27 21:53:42 2014 +0200 (2014-09-27) |
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 } |