Changeset be9970b for functions


Ignore:
Timestamp:
10/28/2005 06:48:53 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
1fb586e
Parents:
bf1c3ba
Message:

Now packages in tar.gz format are supported also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions

    rbf1c3ba rbe9970b  
    1414
    1515define unpack
    16         @cd $(LFS)$(SRC) ; tar -xvjf $(1) > /tmp/unpacked
     16  @if [ -f $(LFS)$(SRC)/$(1).bz2 ] ; then \
     17    cd $(LFS)$(SRC) ; tar -xvjf $(1).bz2 > /tmp/unpacked ; \
     18  else \
     19    cd $(LFS)$(SRC) ; tar -xvzf $(1).gz > /tmp/unpacked ; \
     20  fi ;
     21endef
     22
     23define unpack2
     24  @cd $(LFS)$(SRC) ; /tools/bin/tar -xvf $(1) > /tmp/unpacked
    1725endef
    1826
Note: See TracChangeset for help on using the changeset viewer.