| 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/gnome.org.eclass,v 1.14 2011/08/22 04:46:31 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.15 2011/09/12 15:54:53 pacho Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: gnome.org.eclass |
5 | # @ECLASS: gnome.org.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # gnome@gentoo.org |
7 | # gnome@gentoo.org |
| 8 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 24 | : ${GNOME_TARBALL_SUFFIX:="bz2"} |
24 | : ${GNOME_TARBALL_SUFFIX:="bz2"} |
| 25 | else |
25 | else |
| 26 | : ${GNOME_TARBALL_SUFFIX:="xz"} |
26 | : ${GNOME_TARBALL_SUFFIX:="xz"} |
| 27 | fi |
27 | fi |
| 28 | |
28 | |
|
|
29 | # Even though xz-utils are in @system, they must still be added to DEPEND; see |
|
|
30 | # http://archives.gentoo.org/gentoo-dev/msg_a0d4833eb314d1be5d5802a3b710e0a4.xml |
|
|
31 | if [[ ${GNOME_TARBALL_SUFFIX} == "xz" ]]; then |
|
|
32 | DEPEND="${DEPEND} app-arch/xz-utils" |
|
|
33 | fi |
|
|
34 | |
| 29 | # @ECLASS-VARIABLE: GNOME_ORG_MODULE |
35 | # @ECLASS-VARIABLE: GNOME_ORG_MODULE |
| 30 | # @DESCRIPTION: |
36 | # @DESCRIPTION: |
| 31 | # Name of the module as hosted on gnome.org mirrors. |
37 | # Name of the module as hosted on gnome.org mirrors. |
| 32 | # Leave unset if package name matches module name. |
38 | # Leave unset if package name matches module name. |
| 33 | : ${GNOME_ORG_MODULE:=$PN} |
39 | : ${GNOME_ORG_MODULE:=$PN} |