SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xchat-plugin"

# SliTaz package receipt.

PACKAGE="xchat-plugin"
VERSION="2.8.8"
CATEGORY="network"
SHORT_DESC="IRC client using GTK+ with plugins support"
MAINTAINER="lenios@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://www.xchat.org/"
SOURCE="xchat"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL"
PROVIDE="xchat"

DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Source:/!d;s|.*rce: ||;s|<.*||'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
        -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
        -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
    sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
    sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c

    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        --disable-tcl \
        --enable-spell=static \
        --enable-ipv6 \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
    # cp -a $install/usr/share/dbus-1 $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)