wok-stable view tor/receipt @ rev 5194

Up: slitaz-base-files (3.2) Wok have now a 3.0 version string
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 15:43:04 2010 +0200 (2010-03-28)
parents 802d0d1e6b55
children 73e4ad9e4a1f
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.1.23"
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="libevent-dev openssl-dev zlib-dev libevent-dev libevent"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.torproject.org/"
12 WGET_URL="http://www.torproject.org/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
33 # config file.
34 cp -a $_pkg/etc $fs
35 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
36 }