wok-current view tor/receipt @ rev 24954
*/stuff/bootloader.S: add CHK_DOS_INT19
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 23 15:28:40 2022 +0000 (2022-04-23) |
parents | c887ff05679a |
children |
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 }