wok diff xchat/receipt @ rev 16913
R: update wget url
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Tue Jul 15 21:40:28 2014 -0300 (2014-07-15) |
parents | 380ffe05937a |
children | ec1c047ea51f |
line diff
1.1 --- a/xchat/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/xchat/receipt Tue Jul 15 21:40:28 2014 -0300 1.3 @@ -6,39 +6,39 @@ 1.4 SHORT_DESC="IRC client using GTK+" 1.5 MAINTAINER="lenios@slitaz.org" 1.6 LICENSE="GPL2" 1.7 +WEB_SITE="http://www.xchat.org/" 1.8 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.9 -WEB_SITE="http://www.xchat.org/" 1.10 -WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL" 1.11 +WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL" 1.12 1.13 -DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage" 1.14 +DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage" 1.15 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 - cd $src 1.21 - sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ 1.22 - -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \ 1.23 - -e 's|glib/gutils.h|glib.h|' src/common/xchat.h 1.24 - sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c 1.25 - sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c 1.26 - ./configure --prefix=/usr \ 1.27 - --infodir=/usr/share/info \ 1.28 - --mandir=/usr/share/man \ 1.29 - --disable-plugin \ 1.30 - --disable-tcl \ 1.31 - --enable-spell=static \ 1.32 - --enable-ipv6 \ 1.33 - $CONFIGURE_ARGS && 1.34 - make && 1.35 - make DESTDIR=$DESTDIR install 1.36 + sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ 1.37 + -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \ 1.38 + -e 's|glib/gutils.h|glib.h|' src/common/xchat.h 1.39 + sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c 1.40 + sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c 1.41 + 1.42 + ./configure \ 1.43 + --prefix=/usr \ 1.44 + --infodir=/usr/share/info \ 1.45 + --mandir=/usr/share/man \ 1.46 + --disable-plugin \ 1.47 + --disable-tcl \ 1.48 + --enable-spell=static \ 1.49 + --enable-ipv6 \ 1.50 + $CONFIGURE_ARGS && 1.51 + make && 1.52 + make DESTDIR=$DESTDIR install 1.53 } 1.54 1.55 # Rules to gen a SliTaz package suitable for Tazpkg. 1.56 genpkg_rules() 1.57 { 1.58 - mkdir -p $fs/usr \ 1.59 - $fs/usr/share 1.60 - cp -a $install/usr/bin $fs/usr 1.61 - # cp -a $install/usr/share/dbus-1 $fs/usr/share 1.62 + mkdir -p $fs/usr 1.63 + cp -a $install/usr/bin $fs/usr 1.64 + # cp -a $install/usr/share/dbus-1 $fs/usr/share 1.65 }