wok-6.x view tor/receipt @ rev 20474
daloradius: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 17 05:16:53 2018 +0300 (2018-10-17) |
parents | ef0175011c4c |
children | 29a76938add8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.3.3.7"
5 CATEGORY="network"
6 SHORT_DESC="TOR - An anonymizing overlay network for TCP."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.torproject.org/"
11 WGET_URL="https://www.torproject.org/dist/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libevent libssl liblzma zstd"
15 BUILD_DEPENDS="wget libevent-dev openssl-dev liblzma-dev zstd-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 #cp -a $install/usr/share/tor $fs/usr/share
33 # config file.
34 cp -a $install/etc $fs
35 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
36 }