SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tor-arm"

# SliTaz package receipt.

PACKAGE="tor-arm"
VERSION="1.4.5.0"
CATEGORY="network"
SHORT_DESC="Terminal status monitor for Tor."
MAINTAINER="paul@slitaz.org"
LICENSE="GPL3"
SOURCE="arm"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="https://nyx.torproject.org/"
WGET_URL="https://archive.torproject.org/arm/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/latest/!d;s|.*is <b>||;s|<.*||;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()
{
    cp -a $install/usr $fs
    # remove stuff
    rm -rf $fs/usr/share/man
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)