wok-6.x diff tinyproxy/receipt @ rev 8695
improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:04:20 2011 +0100 (2011-02-17) |
parents | 156441c8051a |
children | 940b5937e496 |
line diff
1.1 --- a/tinyproxy/receipt Fri Oct 29 01:21:54 2010 +0000 1.2 +++ b/tinyproxy/receipt Thu Feb 17 23:04:20 2011 +0100 1.3 @@ -5,22 +5,14 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="A light-weight HTTP proxy daemon for POSIX operating systems." 1.6 MAINTAINER="slaxemulator@gmail.com" 1.7 +BUILD_DEPENDS="wget" 1.8 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.9 WEB_SITE="https://banu.com/tinyproxy/" 1.10 -WGET="https://banu.com/pub/$PACKAGE/${VERSION%.*}/$TARBALL" 1.11 +WGET_URL="https://banu.com/pub/$PACKAGE/${VERSION%.*}/$TARBALL" 1.12 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - # Download using real wget since the link is https and we need 1.17 - # --no-check-certificate that works 1.18 - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.19 - tar xjf $SOURCES_REPOSITORY/$TARBALL 1.20 - else 1.21 - [ -L /usr/bin/wget ] && tazpkg get-install wget --forced 1.22 - wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" 1.23 - tar xjf $SOURCES_REPOSITORY/$TARBALL 1.24 - fi 1.25 cd $src 1.26 patch -Np1 -i ../stuff/no-docs-and-tests.diff 1.27 ./configure \