/[gentoo-x86]/eclass/kde4-functions.eclass
Gentoo

Diff of /eclass/kde4-functions.eclass

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

Revision 1.63 Revision 1.64
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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/kde4-functions.eclass,v 1.63 2013/02/07 03:38:33 alexxy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.64 2013/04/07 17:33:18 kensington Exp $
4 4
5inherit versionator 5inherit versionator
6 6
7# @ECLASS: kde4-functions.eclass 7# @ECLASS: kde4-functions.eclass
8# @MAINTAINER: 8# @MAINTAINER:
9# kde@gentoo.org 9# kde@gentoo.org
10# @BLURB: Common ebuild functions for KDE 4 packages 10# @BLURB: Common ebuild functions for KDE 4 packages
11# @DESCRIPTION: 11# @DESCRIPTION:
12# This eclass contains all functions shared by the different eclasses, 12# This eclass contains all functions shared by the different eclasses,
13# for KDE 4 ebuilds. 13# for KDE 4 ebuilds.
14
15if [[ ${___ECLASS_ONCE_KDE4_FUNCTIONS} != "recur -_+^+_- spank" ]] ; then
16___ECLASS_ONCE_KDE4_FUNCTIONS="recur -_+^+_- spank"
14 17
15# @ECLASS-VARIABLE: EAPI 18# @ECLASS-VARIABLE: EAPI
16# @DESCRIPTION: 19# @DESCRIPTION:
17# Currently kde4 eclasses support EAPI 3 and 4. 20# Currently kde4 eclasses support EAPI 3 and 4.
18case ${EAPI:-0} in 21case ${EAPI:-0} in
475 echo live 478 echo live
476 else 479 else
477 (( micro < 50 )) && echo ${major}.${minor} || echo ${major}.$((minor + 1)) 480 (( micro < 50 )) && echo ${major}.${minor} || echo ${major}.$((minor + 1))
478 fi 481 fi
479} 482}
483
484fi

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

  ViewVC Help
Powered by ViewVC 1.1.20