wok annotate xchat/receipt @ rev 25805

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