wok-current annotate tor/receipt @ rev 8866

Fix tor WGET_URL & review receipt
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 26 05:23:39 2011 +0100 (2011-02-26)
parents 4ce3a132d552
children 15f40d322aec
rev   line source
0dddba11@861 1 # SliTaz package receipt.
0dddba11@861 2
0dddba11@861 3 PACKAGE="tor"
slaxemulator@7964 4 VERSION="0.2.1.29"
0dddba11@861 5 CATEGORY="network"
0dddba11@861 6 SHORT_DESC="An anonymizing overlay network for TCP."
0dddba11@861 7 MAINTAINER="0dddba11@googlemail.com"
0dddba11@861 8 DEPENDS="libevent openssl zlib"
gokhlayeh@8866 9 BUILD_DEPENDS="wget"
0dddba11@861 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
0dddba11@861 11 WEB_SITE="http://www.torproject.org/"
gokhlayeh@8866 12 WGET_URL="https://www.torproject.org/dist/$TARBALL"
0dddba11@861 13
0dddba11@861 14 # Rules to configure and make the package.
0dddba11@861 15 compile_rules()
0dddba11@861 16 {
gokhlayeh@8866 17 cd $src
gokhlayeh@8866 18 ./configure --sysconfdir=/etc && \
gokhlayeh@8866 19 make && make install
0dddba11@861 20 }
0dddba11@861 21
0dddba11@861 22 # Rules to gen a SliTaz package suitable for Tazpkg.
0dddba11@861 23 genpkg_rules()
0dddba11@861 24 {
gokhlayeh@8866 25 mkdir -p $fs/usr
gokhlayeh@8866 26 cp -a $_pkg/usr/bin $fs/usr
0dddba11@861 27
gokhlayeh@8866 28 # config file.
gokhlayeh@8866 29 cp -a $_pkg/etc $fs
gokhlayeh@8866 30 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
0dddba11@861 31 }