# HG changeset patch # User Antoine Bodin # Date 1298694219 -3600 # Node ID 70278f413019ac51a16edb23fe0b4b5ee7cf54e1 # Parent 64dc7f280f437f960da153b396f3a5914e90991f Fix tor WGET_URL & review receipt diff -r 64dc7f280f43 -r 70278f413019 tor/receipt --- a/tor/receipt Sat Feb 26 05:05:54 2011 +0100 +++ b/tor/receipt Sat Feb 26 05:23:39 2011 +0100 @@ -6,31 +6,26 @@ SHORT_DESC="An anonymizing overlay network for TCP." MAINTAINER="0dddba11@googlemail.com" DEPENDS="libevent openssl zlib" -BUILD_DEPENDS="libevent-dev openssl-dev zlib-dev libevent-dev libevent" +BUILD_DEPENDS="wget" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.torproject.org/" -WGET_URL="http://www.torproject.org/dist/$TARBALL" +WGET_URL="https://www.torproject.org/dist/$TARBALL" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install + cd $src + ./configure --sysconfdir=/etc && \ + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr - # config file. - cp -a $_pkg/etc $fs - mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc + # config file. + cp -a $_pkg/etc $fs + mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc }