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

Contents of /eclass/gnome.org.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Fri Mar 18 07:58:09 2011 UTC (3 years, 6 months ago) by eva
Branch: MAIN
Changes since 1.10: +35 -10 lines
Eclass documentation and additional variables

1 eva 1.11 # Copyright 1999-2011 Gentoo Foundation
2 spider 1.1 # Distributed under the terms of the GNU General Public License v2
3 eva 1.11 # $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.10 2005/07/11 15:08:06 swegener Exp $
4    
5     # @ECLASS: gnome.org.eclass
6     # @MAINTAINER:
7     # gnome@gentoo.org
8 vapier 1.4 #
9 eva 1.11 # @CODE@
10     # Authors: Spidler <spidler@gentoo.org> with help of carparski.
11     # eclass variable additions and documentation: Gilles Dartiguelongue <eva@gentoo.org>
12     # @CODE@
13     # @BLURB: Helper eclass for gnome.org hosted archives
14     # @DESCRIPTION:
15     # Provide a default SRC_URI for tarball hosted on gnome.org mirrors.
16    
17     inherit versionator
18    
19     # @ECLASS-VARIABLE: GNOME_TARBALL_SUFFIX
20     # @DESCRIPTION:
21     # Most projects hosted on gnome.org mirrors provide tarballs as tar.gz or
22     # tar.bz2. This eclass defaults to bz2 which is often smaller in size.
23     : ${GNOME_TARBALL_SUFFIX:="bz2"}
24    
25     # @ECLASS-VARIABLE: GNOME_ORG_MODULE
26     # @DESCRIPTION:
27     # Name of the module as hosted on gnome.org mirrors.
28     # Leave unset if package name matches module name.
29     : ${GNOME_ORG_MODULE:=$PN}
30    
31     # @ECLASS-VARIABLE: GNOME_ORG_PVP
32     # @INTERNAL
33     # @DESCRIPTION:
34     # Major and minor numbers of the version number.
35     : ${GNOME_ORG_PVP:=$(get_version_component_range 1-2)}
36 spider 1.1
37 eva 1.11 SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_PVP}/${GNOME_ORG_MODULE}-${PV}.tar.${GNOME_TARBALL_SUFFIX}"
38 spider 1.1
39 eva 1.11 S="${WORKDIR}/${GNOME_ORG_MODULE}-${PV}"

  ViewVC Help
Powered by ViewVC 1.1.20