wok view tor/receipt @ rev 25501

Up aspell-pl (6.0_20230101-0), monitorix (3.15.0), simh (3.12.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 11 14:20:29 2023 +0000 (22 months ago)
parents c887ff05679a
children 96982f54e3dc
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE/download/tor 2>/dev/null | \
23 sed '/ChangeLog/!d;s|.*tor-||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 #cp -a $install/usr/share/tor $fs/usr/share
44 # configuration file.
45 cp -a $install/etc $fs
46 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
47 }