| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 Gentoo Foundation |
| 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/vmware-bundle.eclass,v 1.1 2011/03/17 18:23:40 vadimk Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vmware-bundle.eclass,v 1.2 2011/08/22 04:46:32 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: vmware-bundle.eclass |
5 | # @ECLASS: vmware-bundle.eclass |
| 6 | # @MAINTAINER: <vmware@gentoo.org> |
6 | # @MAINTAINER: |
|
|
7 | # vmware@gentoo.org |
|
|
8 | # @AUTHOR: |
|
|
9 | # Matt Whitlock <matt@whitlock.name> |
| 7 | # @BLURB: Provides extract functionality for vmware products bundles |
10 | # @BLURB: Provides extract functionality for vmware products bundles |
| 8 | # @DESCRIPTION: |
|
|
| 9 | # |
|
|
| 10 | # @AUTHOR: Matt Whitlock <matt@whitlock.name> |
|
|
| 11 | |
11 | |
| 12 | DEPEND="dev-libs/libxslt" |
12 | DEPEND="dev-libs/libxslt" |
| 13 | |
13 | |
| 14 | vmware-bundle_extract-bundle-component() { |
14 | vmware-bundle_extract-bundle-component() { |
| 15 | local bundle=${1:?} component=${2:?} dest=${3:-${2}} |
15 | local bundle=${1:?} component=${2:?} dest=${3:-${2}} |