diff options
author | Brad Teaford Cowan <bcowan@gentoo.org> | 2005-01-17 02:56:35 +0000 |
---|---|---|
committer | Brad Teaford Cowan <bcowan@gentoo.org> | 2005-01-17 02:56:35 +0000 |
commit | cea18015b685bf9ecd90ae5edb8a96e6b5232bf2 (patch) | |
tree | af73f6eeb376b69e45173613dcdb84428c31b1cc /eclass | |
parent | Added ~sparc keyword. (diff) | |
download | historical-cea18015b685bf9ecd90ae5edb8a96e6b5232bf2.tar.gz historical-cea18015b685bf9ecd90ae5edb8a96e6b5232bf2.tar.bz2 historical-cea18015b685bf9ecd90ae5edb8a96e6b5232bf2.zip |
fix for bz2 url
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xfce4.eclass | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/eclass/xfce4.eclass b/eclass/xfce4.eclass index 12053bf67b02..f72bcab48f9e 100644 --- a/eclass/xfce4.eclass +++ b/eclass/xfce4.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfce4.eclass,v 1.12 2005/01/10 19:09:23 bcowan Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xfce4.eclass,v 1.13 2005/01/17 02:56:35 bcowan Exp $ # Author: Brad Cowan <bcowan@gentoo.org> # Xfce4 Eclass @@ -10,9 +10,13 @@ ECLASS=xfce4 INHERITED="$INHERITED $ECLASS" -[[ ${BZIPPED} = "1" ]] \ - && COMPRESS=".tar.bz2" \ - || COMPRESS=".tar.gz" +if [[ ${BZIPPED} = "1" ]];then + COMPRESS=".tar.bz2" + ZIP="-bz2" +else + COMPRESS=".tar.gz" + ZIP="" +fi if [[ ${GOODIES_PLUGIN} = "1" ]]; then [[ -z ${MY_P} ]] && MY_P="${PN}-plugin-${PV}" @@ -33,7 +37,7 @@ fi && SRC_URI="http://download.berlios.de/xfce-goodies/${MY_P:-${P}}${COMPRESS}" [[ -n ${SRC_URI} ]] \ - || SRC_URI="http://www.xfce.org/archive/xfce-${PV}/src/${P}${COMPRESS}" + || SRC_URI="http://www.xfce.org/archive/xfce-${PV}/src${ZIP}/${P}${COMPRESS}" [[ ${XFCE_META} = "1" ]] \ && SRC_URI="" |