wok-next annotate tor/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents ad29ddfee1c9
children c76b8874305c
rev   line source
al@20534 1 # SliTaz package receipt v2.
0dddba11@861 2
0dddba11@861 3 PACKAGE="tor"
erkan@21019 4 VERSION="0.3.3.10"
0dddba11@861 5 CATEGORY="network"
al@20534 6 SHORT_DESC="An anonymizing overlay network for TCP"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15601 8 LICENSE="BSD"
al@21020 9 WEB_SITE="https://www.torproject.org/"
al@20534 10
0dddba11@861 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@8866 12 WGET_URL="https://www.torproject.org/dist/$TARBALL"
0dddba11@861 13
al@20701 14 BUILD_DEPENDS="libevent-dev openssl-dev perl zlib-dev xz-dev zstd-dev \
al@20701 15 libseccomp-dev"
erjo@9886 16
al@20534 17 compile_rules() {
al@20534 18 ./configure $CONFIGURE_ARGS &&
al@20534 19 make &&
al@20534 20 make install || return 1
al@20534 21
al@20534 22 mv $install/etc/tor/torrc.sample $install/etc/tor/torrc
0dddba11@861 23 }
0dddba11@861 24
al@20534 25 genpkg_rules() {
al@20534 26 copy @std
al@20701 27 DEPENDS="libevent liblzma libseccomp openssl zlib zstd"
al@20701 28 CONFIG_FILES="/etc/tor/torrc"
0dddba11@861 29 }