wok annotate tor/receipt @ rev 20423
Update some web_site to https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 09 12:16:16 2018 +0200 (2018-08-09) |
parents | ef0175011c4c |
children | 29a76938add8 |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="tor" |
erkan@20378 | 4 VERSION="0.3.3.7" |
0dddba11@861 | 5 CATEGORY="network" |
pankso@19681 | 6 SHORT_DESC="TOR - An anonymizing overlay network for TCP." |
pankso@19681 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
0dddba11@861 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
0dddba11@861 | 10 WEB_SITE="http://www.torproject.org/" |
gokhlayeh@8866 | 11 WGET_URL="https://www.torproject.org/dist/$TARBALL" |
pankso@16346 | 12 HOST_ARCH="i486 arm" |
0dddba11@861 | 13 |
erkan@20327 | 14 DEPENDS="libevent libssl liblzma zstd" |
erkan@20327 | 15 BUILD_DEPENDS="wget libevent-dev openssl-dev liblzma-dev zstd-dev" |
erjo@9886 | 16 |
0dddba11@861 | 17 # Rules to configure and make the package. |
0dddba11@861 | 18 compile_rules() |
0dddba11@861 | 19 { |
pankso@16346 | 20 ./configure \ |
pankso@16346 | 21 --sysconfdir=/etc \ |
pankso@16346 | 22 $CONFIGURE_ARGS && |
gokhlayeh@8866 | 23 make && make install |
0dddba11@861 | 24 } |
0dddba11@861 | 25 |
0dddba11@861 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 27 genpkg_rules() |
0dddba11@861 | 28 { |
gokhlayeh@8866 | 29 mkdir -p $fs/usr |
pankso@11654 | 30 cp -a $install/usr/bin $fs/usr |
pankso@11654 | 31 #cp -a $install/usr/share/tor $fs/usr/share |
pankso@11654 | 32 |
gokhlayeh@8866 | 33 # config file. |
pankso@11654 | 34 cp -a $install/etc $fs |
gokhlayeh@8866 | 35 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc |
0dddba11@861 | 36 } |