# 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 ||;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 }