wok-6.x view tor/receipt @ rev 8866
Fix tor WGET_URL & review receipt
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 26 05:23:39 2011 +0100 (2011-02-26) |
parents | 4ce3a132d552 |
children | 15f40d322aec |
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.1.29"
5 CATEGORY="network"
6 SHORT_DESC="An anonymizing overlay network for TCP."
7 MAINTAINER="0dddba11@googlemail.com"
8 DEPENDS="libevent openssl zlib"
9 BUILD_DEPENDS="wget"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.torproject.org/"
12 WGET_URL="https://www.torproject.org/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --sysconfdir=/etc && \
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
28 # config file.
29 cp -a $_pkg/etc $fs
30 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
31 }