wok 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 64dc7f280f43
children 02cc6d6760e4
files tor/receipt
line diff
     1.1 --- a/tor/receipt	Sat Feb 26 05:05:54 2011 +0100
     1.2 +++ b/tor/receipt	Sat Feb 26 05:23:39 2011 +0100
     1.3 @@ -6,31 +6,26 @@
     1.4  SHORT_DESC="An anonymizing overlay network for TCP."
     1.5  MAINTAINER="0dddba11@googlemail.com"
     1.6  DEPENDS="libevent openssl zlib"
     1.7 -BUILD_DEPENDS="libevent-dev openssl-dev zlib-dev libevent-dev libevent"
     1.8 +BUILD_DEPENDS="wget"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.torproject.org/"
    1.11 -WGET_URL="http://www.torproject.org/dist/$TARBALL"
    1.12 +WGET_URL="https://www.torproject.org/dist/$TARBALL"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
    1.17 -    cd $src
    1.18 -    ./configure \
    1.19 -    	--prefix=/usr \
    1.20 -    	--sysconfdir=/etc \
    1.21 -    	--mandir=/usr/share/man \
    1.22 -    	$CONFIGURE_ARGS &&
    1.23 -    make &&
    1.24 -    make DESTDIR=$PWD/_pkg install
    1.25 +	cd $src
    1.26 +	./configure --sysconfdir=/etc && \
    1.27 +	make && make install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -    mkdir -p $fs/usr
    1.34 -    cp -a $_pkg/usr/bin $fs/usr
    1.35 +	mkdir -p $fs/usr
    1.36 +	cp -a $_pkg/usr/bin $fs/usr
    1.37  
    1.38 -    # config file.
    1.39 -    cp -a $_pkg/etc $fs
    1.40 -    mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
    1.41 +	# config file.
    1.42 +	cp -a $_pkg/etc $fs
    1.43 +	mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
    1.44  }