tazwok rev 521
Add support for cvs url sources.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 11 13:21:49 2011 +0000 (2011-05-11) |
parents | 88f755b3b10c |
children | 4a8f8f35014e |
files | tazwok |
line diff
1.1 --- a/tazwok Wed May 11 11:16:01 2011 +0000 1.2 +++ b/tazwok Wed May 11 13:21:49 2011 +0000 1.3 @@ -789,6 +789,20 @@ 1.4 continue 1.5 fi 1.6 ;; 1.7 + cvs*) 1.8 + file=${WGET_URL#cvs|} 1.9 + [ "$COMMAND" = get-src ] && [ ! -f $INSTALLED/cvs/receipt ] && tazpkg get-install cvs --forced 1.10 + if [ -f $INSTALLED/cvs/receipt ]; then 1.11 + mkdir $tmp_src 1.12 + cd $tmp_src 1.13 + mod=${src##*/} 1.14 + [ "$CVS_MODULE" ] && mod=$CVS_MODULE 1.15 + cvs -z3 -d:$file co $mod && rm -rf $mod/CVS && break 1.16 + else 1.17 + tazwok_warning "Needs cvs to download the source tarball from $file, please add it as a build-depend." 1.18 + continue 1.19 + fi 1.20 + ;; 1.21 https*) 1.22 [ "$COMMAND" = get-src ] && [ ! -f $INSTALLED/wget/receipt ] && tazpkg get-install wget --forced 1.23 if [ -d $INSTALLED/wget ]; then