wok view tor/receipt @ rev 7867

vde2-dev: Fix CATEGORY
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 03 00:43:32 2011 +0100 (2011-01-03)
parents ac27d6c017df
children 4ce3a132d552
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.1.28"
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 }