wok-6.x view tor/receipt @ rev 7579

Up: firefox to 3.6.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 09 14:42:29 2010 +0000 (2010-12-09)
parents 73e4ad9e4a1f
children 4ecc87096ae8
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.1.27"
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 }