From d91ab2c1b72fe2c7dfb7ff0ed1c74598e5e40f94 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Sat, 28 Sep 2002 06:06:49 +0000 Subject: support diff suffix in gnojme.org eclass --- eclass/gnome.org.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'eclass') 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 @@ -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}" -- cgit v1.2.3-65-gdbad