wok-current view tor/receipt @ rev 24056
Up zstd (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 09:29:15 2021 +0000 (2021-06-08) |
parents | 081356101426 |
children | 922f061231c2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.4.3.5"
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 }