wok view tor/receipt @ rev 10280

automake: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 16:36:59 2011 +0000 (2011-05-21)
parents ccfafdfa698d
children a307819243f5
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.1.30"
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 zlib"
13 BUILD_DEPENDS="wget libevent-dev openssl-dev zlib-dev "
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --sysconfdir=/etc &&
20 $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
30 # config file.
31 cp -a $_pkg/etc $fs
32 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
33 }