wok annotate tor/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 52d9234f1d70
children 577fe7b45fef
rev   line source
0dddba11@861 1 # SliTaz package receipt.
0dddba11@861 2
0dddba11@861 3 PACKAGE="tor"
Hans-G?nter@22041 4 VERSION="0.4.1.6"
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 }