summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-09-28 06:06:49 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-09-28 06:06:49 +0000
commitd91ab2c1b72fe2c7dfb7ff0ed1c74598e5e40f94 (patch)
tree8484f461c6fba04b98afaa808b5b545dbeb7157f /eclass/gnome.org.eclass
parentmasked new procps for testing (diff)
downloadgentoo-2-d91ab2c1b72fe2c7dfb7ff0ed1c74598e5e40f94.tar.gz
gentoo-2-d91ab2c1b72fe2c7dfb7ff0ed1c74598e5e40f94.tar.bz2
gentoo-2-d91ab2c1b72fe2c7dfb7ff0ed1c74598e5e40f94.zip
support diff suffix in gnojme.org eclass
Diffstat (limited to 'eclass/gnome.org.eclass')
-rw-r--r--eclass/gnome.org.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass
index 73f0649acf8a..362d5d8961c7 100644
--- a/eclass/gnome.org.eclass
+++ b/eclass/gnome.org.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.2 2002/09/23 21:13:58 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.3 2002/09/28 06:06:49 azarah Exp $
# Authors:
# Spidler <spidler@gentoo.org>
@@ -11,6 +11,7 @@
ECLASS="gnome.org"
INHERITED="$INHERITED $ECLASS"
+[ -z "${GNOME_TARBALL_SUFFIX}" ] && export GNOME_TARBALL_SUFFIX="bz2"
PVP=($(echo " $PV " | sed 's:[-\._]: :g'))
-SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${P}.tar.bz2"
+SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${P}.tar.${GNOME_TARBALL_SUFFIX}"