| 1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.68 2003/11/26 20:15:10 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.69 2003/11/26 22:13:35 mr_bones_ Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Martin Schlemmer <azarah@gentoo.org> |
5 | # Author: Martin Schlemmer <azarah@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass is for general purpose functions that most ebuilds |
7 | # This eclass is for general purpose functions that most ebuilds |
| 8 | # have to implement themselves. |
8 | # have to implement themselves. |
| … | |
… | |
| 972 | *tar\ archive) |
972 | *tar\ archive) |
| 973 | tail -n +${skip} ${src} | tar -xf - |
973 | tail -n +${skip} ${src} | tar -xf - |
| 974 | ;; |
974 | ;; |
| 975 | bzip2*) |
975 | bzip2*) |
| 976 | tail -n +${skip} ${src} | bzip2 -dc | tar -xf - |
976 | tail -n +${skip} ${src} | bzip2 -dc | tar -xf - |
|
|
977 | ;; |
| 977 | gzip*) |
978 | gzip*) |
| 978 | tail -n +${skip} ${src} | tar -xzf - |
979 | tail -n +${skip} ${src} | tar -xzf - |
| 979 | ;; |
980 | ;; |
| 980 | *) |
981 | *) |
| 981 | false |
982 | false |