wok annotate xchat-plugin/receipt @ rev 24594
updated getmail (5.14 -> 5.16)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:05:47 2022 +0100 (2022-03-01) |
parents | e4fd343fd7b8 |
children |
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@24465 | 18 # What is the latest version available today? |
pascal@24465 | 19 current_version() |
pascal@24465 | 20 { |
pascal@24465 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24465 | 22 sed '/Source:/!d;s|.*rce: ||;s|<.*||' |
pascal@24465 | 23 } |
pascal@24465 | 24 |
pascal@2866 | 25 # Rules to configure and make the package. |
pascal@2866 | 26 compile_rules() |
pascal@2866 | 27 { |
al@16885 | 28 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ |
al@16885 | 29 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \ |
al@16885 | 30 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h |
al@16885 | 31 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c |
al@16885 | 32 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c |
al@16885 | 33 |
al@16885 | 34 ./configure \ |
al@16885 | 35 --prefix=/usr \ |
al@16885 | 36 --infodir=/usr/share/info \ |
al@16885 | 37 --mandir=/usr/share/man \ |
al@16885 | 38 --disable-tcl \ |
al@16885 | 39 --enable-spell=static \ |
al@16885 | 40 --enable-ipv6 \ |
al@16885 | 41 $CONFIGURE_ARGS && |
al@16885 | 42 make && |
al@16885 | 43 make DESTDIR=$DESTDIR install |
pascal@2866 | 44 } |
pascal@2866 | 45 |
pascal@2866 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2866 | 47 genpkg_rules() |
pascal@2866 | 48 { |
al@16885 | 49 mkdir -p $fs/usr |
al@16885 | 50 cp -a $install/usr/bin $fs/usr |
al@16885 | 51 # cp -a $install/usr/share/dbus-1 $fs/usr/share |
pascal@2866 | 52 } |