wok view tor/receipt @ rev 5005
p*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 17:01:48 2010 +0100 (2010-02-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 }