diff options
author | Brad Teaford Cowan <bcowan@gentoo.org> | 2005-01-07 08:08:10 +0000 |
---|---|---|
committer | Brad Teaford Cowan <bcowan@gentoo.org> | 2005-01-07 08:08:10 +0000 |
commit | 98bcef2d8e7e8b0954035aaf2606725859c6f189 (patch) | |
tree | d6a2a61b14e37c2f72f1c6d2874e5e90223d8fc5 /eclass | |
parent | Fixed ChangeLog header. (Manifest recommit) (diff) | |
download | gentoo-2-98bcef2d8e7e8b0954035aaf2606725859c6f189.tar.gz gentoo-2-98bcef2d8e7e8b0954035aaf2606725859c6f189.tar.bz2 gentoo-2-98bcef2d8e7e8b0954035aaf2606725859c6f189.zip |
cleanups
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xfce4.eclass | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/eclass/xfce4.eclass b/eclass/xfce4.eclass index 9a0f346b227e..a87df04b16f2 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.7 2005/01/07 07:59:24 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xfce4.eclass,v 1.8 2005/01/07 08:08:10 bcowan Exp $ # Author: Brad Cowan <bcowan@gentoo.org> # Xfce4 Eclass @@ -14,20 +14,22 @@ INHERITED="$INHERITED $ECLASS" && COMPRESS=".tar.bz2" \ || COMPRESS=".tar.gz" -if [[ ${XFCE_META} = "1" ]]; then - SRC_URI="" -elif [[ ${GOODIES_PLUGIN} = "1" ]]; then +if [[ ${GOODIES_PLUGIN} = "1" ]]; then [[ -z ${MY_P} ]] && MY_P="${PN}-plugin-${PV}" SRC_URI="http://download.berlios.de/xfce-goodies/${MY_P}${COMPRESS}" - XFCE_RDEPEND=">=xfce-base/xfce4-panel-${PV}" -elif [[ -n ${SRC_URI} ]]; then - SRC_URI="${SRC_URI}" -elif [[ ${GOODIES} = "1" ]]; then - SRC_URI="http://download.berlios.de/xfce-goodies/${MY_P:-${P}}${COMPRESS}" -else - SRC_URI="http://www.xfce.org/archive/xfce-${PV}/src/${P}${COMPRESS}" + XFCE_RDEPEND=">=xfce4-panel-${PV}" fi +[[ ${GOODIES} = "1" ]] \ + && SRC_URI="http://download.berlios.de/xfce-goodies/${MY_P:-${P}}${COMPRESS}" + +[[ -n ${SRC_URI} ]] \ + && SRC_URI="${SRC_URI}" \ + || SRC_URI="http://www.xfce.org/archive/xfce-${PV}/src/${P}${COMPRESS}" + +[[ ${XFCE_META} = "1" ]] \ + && SRC_URI="" + [[ -z ${LICENSE} ]] \ && LICENSE="GPL-2" |