summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-07-05 12:17:19 +0000
committerDan Armak <danarmak@gentoo.org>2002-07-05 12:17:19 +0000
commitfc9b677997b982ea549694055c85e8e705730280 (patch)
treef8ed343f215873a6a6d3a6442b688b51d051cb09 /eclass
parentkoffice-i18n-1,2_beta2 packages (diff)
downloadhistorical-fc9b677997b982ea549694055c85e8e705730280.tar.gz
historical-fc9b677997b982ea549694055c85e8e705730280.tar.bz2
historical-fc9b677997b982ea549694055c85e8e705730280.zip
small change for unstable koffices
Diffstat (limited to 'eclass')
-rw-r--r--eclass/koffice-i18n.eclass15
1 files changed, 10 insertions, 5 deletions
diff --git a/eclass/koffice-i18n.eclass b/eclass/koffice-i18n.eclass
index 5af8a0e34ef7..4e8ab64cb9f3 100644
--- a/eclass/koffice-i18n.eclass
+++ b/eclass/koffice-i18n.eclass
@@ -1,16 +1,21 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/koffice-i18n.eclass,v 1.7 2002/04/02 23:23:39 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/koffice-i18n.eclass,v 1.8 2002/07/05 12:17:19 danarmak Exp $
inherit kde
ECLASS=koffice-i18n
case $PV in
- 1 | 1_* | 1.1*) need-kde 2.2;;
- 1.2*) need-kde 3;;
+ 1 | 1_* | 1.1*)
+ need-kde 2.2
+ SRC_PATH="kde/stable/koffice-${PV//_/-}/src/${PN}-${PV//_/-}.tar.bz2"
+ ;;
+ 1.2*)
+ need-kde 3
+ SRC_PATH="kde/unstable/koffice-${PV//_/-}/src/${PN}-${PV//_/-}.tar.bz2"
+ ;;
esac
-SRC_PATH="kde/stable/koffice-${PV}/src/${P}.tar.bz2"
SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH
ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
@@ -19,6 +24,6 @@ S=${WORKDIR}/${PN}
DESCRIPTION="KOffice ${PV} - i18n: ${PN}"
HOMEPAGE="http://www.koffice.org/"
-DEPEND=">=app-office/koffice-${PV}"
+DEPEND="~app-office/koffice-${PV}"
myconf="$myconf --enable-final" \ No newline at end of file