SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mitter"

# SliTaz package receipt.

PACKAGE="mitter"
VERSION="0.4.5"
CATEGORY="network"
SHORT_DESC="Mitter is a client for Twitter."
MAINTAINER="claudinei@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/20120808040147/http://code.google.com/p/mitter"
WGET_URL="https://src.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL"
DEPENDS="python pygtk python-simplejson"
BUILD_DEPENDS="python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://src.fedoraproject.org/repo/pkgs/$PACKAGE/ 2>/dev/null | \
    sed '/compressed.gif/!d;s|.*mitter-||;s|.tar.*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py build
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/applications
    cp -a $stuff/mitter.desktop $fs/usr/share/applications
    cp -a $install/usr $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)