/[gentoo-x86]/eclass/qt4.eclass
Gentoo

Diff of /eclass/qt4.eclass

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

Revision 1.40 Revision 1.41
1# Copyright 2005 Gentoo Foundation 1# Copyright 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/Attic/qt4.eclass,v 1.40 2008/05/15 17:28:59 ingmar Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/qt4.eclass,v 1.41 2008/06/21 15:12:48 swegener Exp $
4 4
5# @ECLASS: qt4.eclass 5# @ECLASS: qt4.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Caleb Tennis <caleb@gentoo.org> 7# Caleb Tennis <caleb@gentoo.org>
8# @BLURB: Eclass for Qt4 packages 8# @BLURB: Eclass for Qt4 packages
48 48
49 case "${MINVER}" in 49 case "${MINVER}" in
50 4|4.0|4.0.0) VERSIONS="=${QTPKG}4*";; 50 4|4.0|4.0.0) VERSIONS="=${QTPKG}4*";;
51 4.1|4.1.0|4.2|4.2.0|4.3|4.3.0|4.4|4.4.0) 51 4.1|4.1.0|4.2|4.2.0|4.3|4.3.0|4.4|4.4.0)
52 for x in ${QT4MAJORVERSIONS}; do 52 for x in ${QT4MAJORVERSIONS}; do
53 if $(version_is_at_least "${MINVER}" "${x}"); then 53 if version_is_at_least "${MINVER}" "${x}"; then
54 VERSIONS="${VERSIONS} =${QTPKG}${x}*" 54 VERSIONS="${VERSIONS} =${QTPKG}${x}*"
55 fi 55 fi
56 done 56 done
57 ;; 57 ;;
58 4*) 58 4*)
59 for x in ${QT4VERSIONS}; do 59 for x in ${QT4VERSIONS}; do
60 if $(version_is_at_least "${MINVER}" "${x}"); then 60 if version_is_at_least "${MINVER}" "${x}"; then
61 VERSIONS="${VERSIONS} =${QTPKG}${x}" 61 VERSIONS="${VERSIONS} =${QTPKG}${x}"
62 fi 62 fi
63 done 63 done
64 ;; 64 ;;
65 *) VERSIONS="=${QTPKG}4*";; 65 *) VERSIONS="=${QTPKG}4*";;

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20