wok-4.x rev 10759
vidalia: get source in $SOURCES_REPOSITORY (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 31 11:55:01 2011 +0200 (2011-05-31) |
parents | 5ec8b1a4e241 |
children | 7206549f64b7 |
files | vidalia/receipt |
line diff
1.1 --- a/vidalia/receipt Tue May 31 11:51:33 2011 +0200 1.2 +++ b/vidalia/receipt Tue May 31 11:55:01 2011 +0200 1.3 @@ -15,8 +15,10 @@ 1.4 compile_rules() 1.5 { 1.6 # Have to use wget for https stuff 1.7 - wget --no-check-certificate https://www.torproject.org/vidalia/dist/$TARBALL 1.8 - tar xvf $TARBALL 1.9 + [ -s ${SOURCE_REPOSITORY:-$SRC}/$TARBALL ] || 1.10 + wget --no-check-certificate -P ${SOURCE_REPOSITORY:-$SRC} \ 1.11 + https://www.torproject.org/vidalia/dist/$TARBALL 1.12 + tar xvf ${SOURCE_REPOSITORY:-$SRC}/$TARBALL 1.13 cd $src 1.14 mkdir build && cd build 1.15 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&