wok view tor/receipt @ rev 9065
cpufrequtils: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 13:31:15 2011 +0100 (2011-03-04) |
parents | 70278f413019 |
children | ff30ae3a8bce |
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 DEPENDS="libevent openssl zlib"
9 BUILD_DEPENDS="wget"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.torproject.org/"
12 WGET_URL="https://www.torproject.org/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --sysconfdir=/etc && \
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
28 # config file.
29 cp -a $_pkg/etc $fs
30 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
31 }