summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-12-07 01:21:36 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-12-07 01:21:36 +0000
commitf70fb5230d6a876365cd4d24408aaa619f5975db (patch)
tree922a48c4a4ee3f9c2411ede158e1960d00813ec0 /eclass
parentInitial import, see bug #146563. (diff)
downloadhistorical-f70fb5230d6a876365cd4d24408aaa619f5975db.tar.gz
historical-f70fb5230d6a876365cd4d24408aaa619f5975db.tar.bz2
historical-f70fb5230d6a876365cd4d24408aaa619f5975db.zip
Added xfce44_extra_package method
Diffstat (limited to 'eclass')
-rw-r--r--eclass/xfce44.eclass11
1 files 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"