wok-current view tor/receipt @ rev 23422

updated perltidy (20140711 -> 20200110)
author Hans-G?nter Theisgen
date Wed Apr 01 08:11:45 2020 +0100 (2020-04-01)
parents 54a9e5bee276
children 081356101426
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.4.1.7"
5 CATEGORY="network"
6 SHORT_DESC="An anonymizing overlay network for TCP."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.torproject.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}dist/$TARBALL"
14 DEPENDS="libevent liblzma libssl zstd"
15 BUILD_DEPENDS="libevent-dev liblzma-dev openssl-dev zstd-dev"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 #cp -a $install/usr/share/tor $fs/usr/share
37 # configuration file.
38 cp -a $install/etc $fs
39 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
40 }