1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2004 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.2 2002/09/23 21:13:58 spider Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.6 2004/07/23 05:39:58 obz Exp $ |
4 | |
4 | # |
5 | # Authors: |
5 | # Authors: |
6 | # Spidler <spidler@gentoo.org> |
6 | # Spidler <spidler@gentoo.org> |
7 | # with help of carparski. |
7 | # with help of carparski. |
8 | |
8 | # |
9 | # Gnome ECLASS. mainly SRC_URI settings |
9 | # Gnome ECLASS. mainly SRC_URI settings |
10 | |
10 | |
11 | ECLASS="gnome.org" |
11 | ECLASS="gnome.org" |
12 | INHERITED="$INHERITED $ECLASS" |
12 | INHERITED="$INHERITED $ECLASS" |
13 | |
13 | |
14 | PVP=($(echo " $PV " | sed 's:[-\._]: :g')) |
14 | [ -z "${GNOME_TARBALL_SUFFIX}" ] && export GNOME_TARBALL_SUFFIX="bz2" |
|
|
15 | PVP="${PV//[-\._]/ }" |
15 | SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${P}.tar.bz2" |
16 | SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${P}.tar.${GNOME_TARBALL_SUFFIX}" |
16 | |
17 | |