wok annotate tor-arm/receipt @ rev 21884
merkaartor: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 17:25:34 2019 +0200 (2019-09-30) |
parents | 7390f8de9846 |
children | 922f061231c2 |
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@11567 | 12 WGET_URL="http://www.atagar.com/arm/resources/static/$TARBALL" |
pascal@11567 | 13 |
pascal@14855 | 14 DEPENDS="python" |
pascal@14855 | 15 BUILD_DEPENDS="python python-dev" |
pascal@14855 | 16 |
pascal@11567 | 17 # Rules to configure and make the package. |
pascal@11567 | 18 compile_rules() |
pascal@11567 | 19 { |
pascal@11567 | 20 python setup.py build |
pascal@14855 | 21 python setup.py install --root=$DESTDIR |
pascal@11567 | 22 } |
pascal@11567 | 23 |
pascal@11567 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11567 | 25 genpkg_rules() |
pascal@11567 | 26 { |
pascal@14855 | 27 cp -a $install/usr $fs |
pascal@11567 | 28 # remove stuff |
pascal@11567 | 29 rm -rf $fs/usr/share/man |
pascal@11567 | 30 } |