Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 38960 for trunk/base/src

Show
Ignore:
Timestamp:
2008-08-04 02:23:00 (4 months ago)
Author:
afb@…
Message:

add use_lzma for .tar.lzma support

Location:
trunk/base/src/port1.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portextract.tcl

    r38038 r38960  
    5959 
    6060proc extract_init {args} { 
    61     global extract.only extract.dir extract.cmd extract.pre_args extract.post_args extract.mkdir distfiles use_bzip2 use_zip use_dmg workpath 
     61    global extract.only extract.dir extract.cmd extract.pre_args extract.post_args extract.mkdir distfiles use_bzip2 use_lzma use_zip use_dmg workpath 
    6262 
    6363    # should the distfiles be extracted to worksrcpath instead? 
     
    7171    if {[tbool use_bzip2]} { 
    7272        option extract.cmd [binaryInPath "bzip2"] 
     73    } elseif {[tbool use_lzma]} { 
     74        option extract.cmd [binaryInPath "lzma"] 
    7375    } elseif {[tbool use_zip]} { 
    7476        option extract.cmd [binaryInPath "unzip"] 
  • trunk/base/src/port1.0/portfetch.tcl

    r38163 r38960  
    101101# Option-executed procedures 
    102102option_proc use_bzip2 fix_extract_suffix 
     103option_proc use_lzma fix_extract_suffix 
    103104option_proc use_zip fix_extract_suffix 
    104105option_proc use_dmg fix_extract_suffix 
     
    110111            use_bzip2 { 
    111112                set extract.suffix .tar.bz2 
     113            } 
     114            use_lzma { 
     115                set extract.suffix .tar.lzma 
    112116            } 
    113117            use_zip {