From f70fb5230d6a876365cd4d24408aaa619f5975db Mon Sep 17 00:00:00 2001 From: Joshua Nichols Date: Thu, 7 Dec 2006 01:21:36 +0000 Subject: [PATCH] Added xfce44_extra_package method --- eclass/xfce44.eclass | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/eclass/xfce44.eclass b/eclass/xfce44.eclass index 45580ad73003..819dc4c51812 100644 --- a/eclass/xfce44.eclass +++ b/eclass/xfce44.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v 1.4 2006/12/06 03:24:30 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v 1.5 2006/12/07 01:21:36 nichoj Exp $ # Xfce44 Eclass # @@ -72,12 +72,19 @@ xfce44_goodies_thunar_plugin() { SRC_URI="http://download.berlios.de/xfce-goodies/file-manager-plugins/thunar/${MY_P:-${P}}${COMPRESS}" } -## sets SRC_URI and HOMPAGE for all Xfce core pacgages +## sets SRC_URI and HOMPAGE for all Xfce core packages xfce44_core_package() { SRC_URI="http://www.xfce.org/archive/xfce-${PV}/src/${P}${COMPRESS}" HOMEPAGE="http://www.xfce.org/" } +## sets SRC_URI for non-core packages, like xarchiver +xfce44_extra_package() { + [[ -z ${MY_P} ]] && MY_P=${P} + SRC_URI="http://www.xfce.org/archive/xfce-${XFCE_MASTER_VERSION}/src/${MY_P}${COMPRESS}" + HOMEPAGE="http://www.xfce.org/" +} + ## single_make sets the -j value to 1 eliminationg parallel builds for broken autotools scripts xfce44_single_make() { JOBS="-j1" -- 2.26.2