wok view tor/receipt @ rev 15831
clamav: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 24 16:02:14 2014 +0000 (2014-01-24) |
parents | acdfd2886c4a |
children | c5d0d245189b |
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.3.25"
5 CATEGORY="network"
6 SHORT_DESC="An anonymizing overlay network for TCP."
7 MAINTAINER="0dddba11@googlemail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.torproject.org/"
11 WGET_URL="https://www.torproject.org/dist/$TARBALL"
13 DEPENDS="libevent libssl"
14 BUILD_DEPENDS="wget libevent-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS --sysconfdir=/etc &&
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 $install/usr/bin $fs/usr
29 #cp -a $install/usr/share/tor $fs/usr/share
31 # config file.
32 cp -a $install/etc $fs
33 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
34 }