wok-next view tor/receipt @ rev 15690
dpkg,debootstrap: Fix missing mkdir command
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 08:14:41 2013 +0100 (2013-12-21) |
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 }