wok view tor-arm/receipt @ rev 24757
pkg-config: cheat configure
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 18 06:53:58 2022 +0100 (2022-03-18) |
parents | be2ab6ab8f7e |
children | 505d1daeed6c |
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="http://www.atagar.com/arm/resources/static/$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 }