summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/qt.eclass b/eclass/qt.eclass
index f5d948ea1930..a8c546a41431 100644
--- a/eclass/qt.eclass
+++ b/eclass/qt.eclass
@@ -1,6 +1,6 @@
# Copyright 2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt.eclass,v 1.4 2005/06/30 13:29:51 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt.eclass,v 1.5 2005/06/30 13:34:23 caleb Exp $
#
# Author Caleb Tennis <caleb@gentoo.org>
#
@@ -18,6 +18,12 @@ INHERITED="$INHERITED $ECLASS"
QTPKG="x11-libs/qt-"
QT3VERSIONS="3.3.4-r5 3.3.4-r4 3.3.4-r3 3.3.4-r2 3.3.4-r1 3.3.4 3.3.3-r3 3.3.3-r2 3.3.3-r1 3.3.3 3.3.2 3.3.1-r2 3.3.1-r1 3.3.1 3.3.0-r1 3.3.0 3.2.3-r1 3.2.3 3.2.2-r1 3.2.2 3.2.1-r2 3.2.1-r1 3.2.1 3.2.0 3.1.2-r4 3.1.2-r3 3.1.2-r2 3.1.2-r1 3.1.2 3.1.1-r2 3.1.1-r1 3.1.1 3.1.0-r3 3.1.0-r2 3.1.0-r1 3.1.0"
+qt_pkg_setup() {
+ if [ ! $QTDIR ]; then
+ QTDIR="/usr/qt/3"
+ fi
+}
+
qt3_min_version() {
echo -n "|| ( "
qt3_min_version_list $@
@@ -43,3 +49,5 @@ qt3_min_version_list() {
echo -n $VERSIONS
}
+
+EXPORT_FUNCTIONS pkg_setup