SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pidgin"

# SliTaz package receipt.

PACKAGE="pidgin"
VERSION="2.10.1"
CATEGORY="network"
SHORT_DESC="Instant messaging client using GTK+."
MAINTAINER="pankso@slitaz.org"
DEPENDS="gtk+ gnutls libgcrypt libgpg-error \
xorg-libXdamage libxml2 libxcb xcb-util libidn libtasn1 nss gmp"
BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
libgpg-error-dev libxml2-dev libxcb-dev \
libidn-dev libtasn1-dev intltool expat-dev nss-dev \
xcb-util-dev optipng gmp-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.pidgin.im/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    find | grep .png | xargs optipng -o7
    touch pidgin.desktop
    MSGFMT=/usr/bin/msgfmt
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        --disable-perl \
        --disable-consoleui \
        --disable-screensaver \
        --disable-gtkspell \
        --disable-startup-notification \
        --disable-gstreamer \
        --disable-gstreamer-interfaces \
        --disable-meanwhile \
        --disable-avahi \
        --disable-nm \
        --disable-tcl \
        --disable-tk \
        --disable-dbus \
        --disable-farsight \
        --disable-vv \
        --disable-idn \
        --disable-sm \
        --enable-trayicon-compat \
        $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
    cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
    rm $fs/usr/lib/pidgin/*.la
    rm $fs/usr/lib/purple-2/*.la
    cp -a $stuff/pidgin.desktop $fs/usr/share/applications
    cp -a $_pkg/usr/share/purple $fs/usr/share
    cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
    cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
    # Cook wanted
    echo "Cook: pidgin-dev"
    echo "Cook: libpurple-dev"
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)