SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "emesene"

# SliTaz package receipt.

PACKAGE="emesene"
VERSION="1.6"
CATEGORY="network"
SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network."
MAINTAINER="rocky@slitaz.org"
LICENSE="GPL2 LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/emesene/emesene"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="im instant-messaging instant-messenger"

DEPENDS="python pygtk pycairo python-pysqlite gst-python"
BUILD_DEPENDS="python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    while read file; do
        [ -f done.$file ] && continue
        echo "Apply $file..."
        patch -p1 < $stuff/$file || return 1
        touch done.$file
    done <<EOT
slitaz-openbox.patch
EOT
    python setup.py build_ext -i || return 1
}


# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin \
        $fs/usr/share/emesene \
        $fs/usr/share/pixmaps \
        $fs/usr/share/applications

    cp stuff/emesene $fs/usr/bin
    cp -a $src/* $fs/usr/share/emesene
    cp $fs/usr/share/emesene/misc/emesene.png $fs/usr/share/pixmaps
    cp $fs/usr/share/emesene/misc/emesene.desktop $fs/usr/share/applications

    rm -rf $fs/usr/share/emesene/misc
    rm -rf $fs/usr/share/emesene/po
    rm -rf $fs/usr/share/emesene/libmimic
    rm -rf $fs/usr/share/emesene/build
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)