wok-6.x annotate tor/receipt @ rev 23313
updated perl-datetime-timezone (1.93 -> 2.38)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 30 15:07:38 2020 +0100 (2020-03-30) |
parents | 54a9e5bee276 |
children | 081356101426 |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="tor" |
erkan@22409 | 4 VERSION="0.4.1.7" |
0dddba11@861 | 5 CATEGORY="network" |
Hans-G?nter@22041 | 6 SHORT_DESC="An anonymizing overlay network for TCP." |
pankso@19681 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
Hans-G?nter@22041 | 9 WEB_SITE="https://www.torproject.org/" |
Hans-G?nter@22041 | 10 |
0dddba11@861 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22041 | 12 WGET_URL="${WEB_SITE}dist/$TARBALL" |
Hans-G?nter@22041 | 13 |
Hans-G?nter@22041 | 14 DEPENDS="libevent liblzma libssl zstd" |
Hans-G?nter@22041 | 15 BUILD_DEPENDS="libevent-dev liblzma-dev openssl-dev zstd-dev" |
Hans-G?nter@22041 | 16 |
pankso@16346 | 17 HOST_ARCH="i486 arm" |
0dddba11@861 | 18 |
0dddba11@861 | 19 # Rules to configure and make the package. |
0dddba11@861 | 20 compile_rules() |
0dddba11@861 | 21 { |
Hans-G?nter@22041 | 22 ./configure \ |
Hans-G?nter@22041 | 23 --sysconfdir=/etc \ |
pankso@16346 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@22041 | 25 make && |
Hans-G?nter@22041 | 26 make install |
0dddba11@861 | 27 } |
0dddba11@861 | 28 |
0dddba11@861 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 30 genpkg_rules() |
0dddba11@861 | 31 { |
gokhlayeh@8866 | 32 mkdir -p $fs/usr |
Hans-G?nter@22041 | 33 |
Hans-G?nter@22041 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22041 | 35 #cp -a $install/usr/share/tor $fs/usr/share |
pankso@11654 | 36 |
Hans-G?nter@22041 | 37 # configuration file. |
Hans-G?nter@22041 | 38 cp -a $install/etc $fs |
Hans-G?nter@22041 | 39 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc |
0dddba11@861 | 40 } |