/[gentoo-x86]/eclass/x-modular.eclass
Gentoo

Diff of /eclass/x-modular.eclass

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

Revision 1.92 Revision 1.94
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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/x-modular.eclass,v 1.92 2008/02/22 05:10:03 dberkholz Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.94 2008/03/09 05:20:30 dberkholz Exp $
4# 4#
5# @ECLASS: x-modular.eclass 5# @ECLASS: x-modular.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org 7# Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org
8# @BLURB: Reduces code duplication in the modularized X11 ebuilds. 8# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
38fi 38fi
39 39
40IUSE="" 40IUSE=""
41HOMEPAGE="http://xorg.freedesktop.org/" 41HOMEPAGE="http://xorg.freedesktop.org/"
42 42
43if [[ -z ${SNAPSHOT} ]]; then
43# @ECLASS-VARIABLE: SNAPSHOT 44# @ECLASS-VARIABLE: SNAPSHOT
44# @DESCRIPTION: 45# @DESCRIPTION:
45# If set to 'yes' and configure.ac exists, eautoreconf will run. Set 46# If set to 'yes' and configure.ac exists, eautoreconf will run. Set
46# before inheriting this eclass. 47# before inheriting this eclass.
47SNAPSHOT="no" 48 SNAPSHOT="no"
49fi
48 50
49if [[ ${PV} = 9999* ]]; then 51if [[ ${PV} = 9999* ]]; then
50 GIT_ECLASS="git" 52 GIT_ECLASS="git"
51 SNAPSHOT="yes" 53 SNAPSHOT="yes"
52 SRC_URI="" 54 SRC_URI=""
61# x11-misc contains data and util, x11-themes contains data 63# x11-misc contains data and util, x11-themes contains data
62elif [[ ${CATEGORY} = x11-misc ]] || [[ ${CATEGORY} = x11-themes ]]; then 64elif [[ ${CATEGORY} = x11-misc ]] || [[ ${CATEGORY} = x11-themes ]]; then
63 if [[ ${PN} == xbitmaps || ${PN} == xcursor-themes || ${PN} == xkbdata ]]; then 65 if [[ ${PN} == xbitmaps || ${PN} == xcursor-themes || ${PN} == xkbdata ]]; then
64 MODULE="data" 66 MODULE="data"
65 else 67 else
66 MODULE="data" 68 MODULE="util"
67 fi 69 fi
68elif [[ ${CATEGORY} = x11-drivers ]]; then 70elif [[ ${CATEGORY} = x11-drivers ]]; then
69 MODULE="driver" 71 MODULE="driver"
70elif [[ ${CATEGORY} = media-fonts ]]; then 72elif [[ ${CATEGORY} = media-fonts ]]; then
71 MODULE="font" 73 MODULE="font"

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.94

  ViewVC Help
Powered by ViewVC 1.1.20