/[gentoo-x86]/eclass/gnome.org.eclass
Gentoo

Diff of /eclass/gnome.org.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.15
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.13 2011/06/16 07:37:20 abcd 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# 8# @AUTHOR:
9# @CODE@
10# Authors: Spidler <spidler@gentoo.org> with help of carparski. 9# Authors: Spidler <spidler@gentoo.org> with help of carparski.
11# eclass variable additions and documentation: Gilles Dartiguelongue <eva@gentoo.org> 10# eclass variable additions and documentation: Gilles Dartiguelongue <eva@gentoo.org>
12# @CODE@
13# @BLURB: Helper eclass for gnome.org hosted archives 11# @BLURB: Helper eclass for gnome.org hosted archives
14# @DESCRIPTION: 12# @DESCRIPTION:
15# Provide a default SRC_URI for tarball hosted on gnome.org mirrors. 13# Provide a default SRC_URI for tarball hosted on gnome.org mirrors.
16 14
17inherit versionator 15inherit versionator
26 : ${GNOME_TARBALL_SUFFIX:="bz2"} 24 : ${GNOME_TARBALL_SUFFIX:="bz2"}
27else 25else
28 : ${GNOME_TARBALL_SUFFIX:="xz"} 26 : ${GNOME_TARBALL_SUFFIX:="xz"}
29fi 27fi
30 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
31if [[ ${GNOME_TARBALL_SUFFIX} == "xz" ]]; then
32 DEPEND="${DEPEND} app-arch/xz-utils"
33fi
34
31# @ECLASS-VARIABLE: GNOME_ORG_MODULE 35# @ECLASS-VARIABLE: GNOME_ORG_MODULE
32# @DESCRIPTION: 36# @DESCRIPTION:
33# Name of the module as hosted on gnome.org mirrors. 37# Name of the module as hosted on gnome.org mirrors.
34# Leave unset if package name matches module name. 38# Leave unset if package name matches module name.
35: ${GNOME_ORG_MODULE:=$PN} 39: ${GNOME_ORG_MODULE:=$PN}

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20