wok rev 8580
imported patch get/tinyproxy
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | 37738b3ee08f |
children | 5e040c318c37 |
files | tinyproxy/receipt |
line diff
1.1 --- a/tinyproxy/receipt Sun Feb 13 22:57:56 2011 +0100 1.2 +++ b/tinyproxy/receipt Sun Feb 13 22:57:56 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 \