| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2009 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/ruby-ng.eclass,v 1.4 2009/12/05 11:33:10 flameeyes Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.6 2009/12/14 12:25:47 a3li Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: ruby-ng.eclass |
5 | # @ECLASS: ruby-ng.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Ruby herd <ruby@gentoo.org> |
7 | # Ruby herd <ruby@gentoo.org> |
| 8 | # |
8 | # |
| … | |
… | |
| 265 | _ruby_each_implementation |
265 | _ruby_each_implementation |
| 266 | } |
266 | } |
| 267 | |
267 | |
| 268 | # @FUNCTION: ruby-ng_src_unpack |
268 | # @FUNCTION: ruby-ng_src_unpack |
| 269 | # @DESCRIPTION: |
269 | # @DESCRIPTION: |
| 270 | # Unpack the source archive, including gems. |
270 | # Unpack the source archive. |
| 271 | ruby-ng_src_unpack() { |
271 | ruby-ng_src_unpack() { |
| 272 | mkdir "${WORKDIR}"/all |
272 | mkdir "${WORKDIR}"/all |
| 273 | pushd "${WORKDIR}"/all &>/dev/null |
273 | pushd "${WORKDIR}"/all &>/dev/null |
| 274 | |
274 | |
| 275 | # We don't support an each-unpack, it's either all or nothing! |
275 | # We don't support an each-unpack, it's either all or nothing! |