wok-6.x view tor/receipt @ rev 8922
Fix gob2: add bdep flex
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 01 02:33:54 2011 +0100 (2011-03-01) |
parents | 70278f413019 |
children | ff30ae3a8bce |
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.1.30"
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 }