wok view tor/receipt @ rev 25057

linux-libre: fix linux-libre-3.18.129-gnu-slitaz.config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 11:05:30 2022 +0000 (2022-06-06)
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 }