/[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.11 Revision 1.13
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.11 2011/03/18 07:58:09 eva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.13 2011/06/16 07:37:20 abcd 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#
16 16
17inherit versionator 17inherit versionator
18 18
19# @ECLASS-VARIABLE: GNOME_TARBALL_SUFFIX 19# @ECLASS-VARIABLE: GNOME_TARBALL_SUFFIX
20# @DESCRIPTION: 20# @DESCRIPTION:
21# Most projects hosted on gnome.org mirrors provide tarballs as tar.gz or 21# Most projects hosted on gnome.org mirrors provide tarballs as tar.bz2 or
22# tar.bz2. This eclass defaults to bz2 which is often smaller in size. 22# tar.xz. This eclass defaults to bz2 for EAPI 0, 1, 2, 3 and defaults to xz for
23# everything else. This is because the gnome mirrors are moving to only have xz
24# tarballs for new releases.
25if has "${EAPI:-0}" 0 1 2 3; then
23: ${GNOME_TARBALL_SUFFIX:="bz2"} 26 : ${GNOME_TARBALL_SUFFIX:="bz2"}
27else
28 : ${GNOME_TARBALL_SUFFIX:="xz"}
29fi
24 30
25# @ECLASS-VARIABLE: GNOME_ORG_MODULE 31# @ECLASS-VARIABLE: GNOME_ORG_MODULE
26# @DESCRIPTION: 32# @DESCRIPTION:
27# Name of the module as hosted on gnome.org mirrors. 33# Name of the module as hosted on gnome.org mirrors.
28# Leave unset if package name matches module name. 34# Leave unset if package name matches module name.

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

  ViewVC Help
Powered by ViewVC 1.1.20