wok annotate tor/receipt @ rev 23943

Up cryptsetup-dev (2.3.4), lzham_codec (1_0_stable1), slitaz-boot-scripts (466), tazlito (527)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 17 10:31:38 2020 +0000 (2020-09-17)
parents 081356101426
children 922f061231c2
rev   line source
0dddba11@861 1 # SliTaz package receipt.
0dddba11@861 2
0dddba11@861 3 PACKAGE="tor"
pascal@23839 4 VERSION="0.4.3.5"
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 }