wok-current view tor-arm/receipt @ rev 25594
Use default gcc 6.3 for asunder
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 31 19:10:51 2023 +0000 (16 months ago) |
parents | 922f061231c2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tor-arm"
4 VERSION="1.4.5.0"
5 CATEGORY="network"
6 SHORT_DESC="Terminal status monitor for Tor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 SOURCE="arm"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://nyx.torproject.org/"
12 WGET_URL="https://archive.torproject.org/arm/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/latest/!d;s|.*is <b>||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 # remove stuff
36 rm -rf $fs/usr/share/man
37 }