wok-6.x annotate tor-arm/receipt @ rev 25085
gnumeric: added dependency goffice
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:26:00 2022 +0100 (2022-06-17) |
parents | 922f061231c2 |
children |
rev | line source |
---|---|
pascal@11567 | 1 # SliTaz package receipt. |
pascal@11567 | 2 |
pascal@11567 | 3 PACKAGE="tor-arm" |
pascal@14855 | 4 VERSION="1.4.5.0" |
pascal@11567 | 5 CATEGORY="network" |
pascal@11567 | 6 SHORT_DESC="Terminal status monitor for Tor." |
pascal@11567 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14855 | 8 LICENSE="GPL3" |
pascal@11567 | 9 SOURCE="arm" |
pascal@11567 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@21031 | 11 WEB_SITE="https://nyx.torproject.org/" |
pascal@25026 | 12 WGET_URL="https://archive.torproject.org/arm/$TARBALL" |
pascal@11567 | 13 |
pascal@14855 | 14 DEPENDS="python" |
pascal@14855 | 15 BUILD_DEPENDS="python python-dev" |
pascal@14855 | 16 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24304 | 21 sed '/latest/!d;s|.*is <b>||;s|<.*||;q' |
pascal@24304 | 22 } |
pascal@24304 | 23 |
pascal@11567 | 24 # Rules to configure and make the package. |
pascal@11567 | 25 compile_rules() |
pascal@11567 | 26 { |
pascal@11567 | 27 python setup.py build |
pascal@14855 | 28 python setup.py install --root=$DESTDIR |
pascal@11567 | 29 } |
pascal@11567 | 30 |
pascal@11567 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11567 | 32 genpkg_rules() |
pascal@11567 | 33 { |
pascal@14855 | 34 cp -a $install/usr $fs |
pascal@11567 | 35 # remove stuff |
pascal@11567 | 36 rm -rf $fs/usr/share/man |
pascal@11567 | 37 } |