summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-03-22 21:06:34 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-03-22 21:06:34 +0000
commitd21559dd9364dbb40596489025c4e7e094d40e2d (patch)
treed836c18cdf96227317a0202ebba98013ee8fb5b5 /net-www/opera/opera-7.23-r1.ebuild
parentswitch to sed -i syntax, and move the replace-flags statements to src_compile... (diff)
downloadgentoo-2-d21559dd9364dbb40596489025c4e7e094d40e2d.tar.gz
gentoo-2-d21559dd9364dbb40596489025c4e7e094d40e2d.tar.bz2
gentoo-2-d21559dd9364dbb40596489025c4e7e094d40e2d.zip
add metadat.xml, remove old versions, fix src_uri
Diffstat (limited to 'net-www/opera/opera-7.23-r1.ebuild')
-rw-r--r--net-www/opera/opera-7.23-r1.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/net-www/opera/opera-7.23-r1.ebuild b/net-www/opera/opera-7.23-r1.ebuild
index 345d67758665..1dfefaac3a6a 100644
--- a/net-www/opera/opera-7.23-r1.ebuild
+++ b/net-www/opera/opera-7.23-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-7.23-r1.ebuild,v 1.4 2004/03/17 01:38:25 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-7.23-r1.ebuild,v 1.5 2004/03/22 21:06:33 lanius Exp $
IUSE="static operanom2"
@@ -11,15 +11,13 @@ DESCRIPTION="Opera web browser."
HOMEPAGE="http://www.opera.com/linux/"
# that's an ugly workaround for the broken src_uri syntax
-if [ `use static` ]; then
- SRC_URI="x86? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 )
- ppc? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 )
- sparc? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 )"
-else
- SRC_URI="x86? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 )
- ppc? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/ppc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 )
- sparc? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/sparc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 )"
-fi
+SRC_URI="
+ x86? ( static? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
+ x86? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) )
+ ppc? ( static? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) )
+ ppc? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/ppc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 ) )
+ sparc? ( static? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) )
+ sparc? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/723/final/en/sparc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) )"
SLOT="0"
LICENSE="OPERA"