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

Up: connman (1.12)
author Dominique Corbex <domcox@slitaz.org>
date Fri Apr 12 19:56:50 2013 +0200 (2013-04-12)
parents ba360b743a22
children acdfd2886c4a
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.2.35"
5 CATEGORY="network"
6 SHORT_DESC="An anonymizing overlay network for TCP."
7 MAINTAINER="0dddba11@googlemail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.torproject.org/"
10 WGET_URL="https://www.torproject.org/dist/$TARBALL"
12 DEPENDS="libevent libssl"
13 BUILD_DEPENDS="wget libevent-dev openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure $CONFIGURE_ARGS --sysconfdir=/etc &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 #cp -a $install/usr/share/tor $fs/usr/share
30 # config file.
31 cp -a $install/etc $fs
32 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
33 }