Added xfce44_extra_package method
authorJoshua Nichols <nichoj@gentoo.org>
Thu, 7 Dec 2006 01:21:36 +0000 (01:21 +0000)
committerJoshua Nichols <nichoj@gentoo.org>
Thu, 7 Dec 2006 01:21:36 +0000 (01:21 +0000)
eclass/xfce44.eclass

index 45580ad730036ac6c319f447f44fcfa64913bf65..819dc4c5181261976061321e9689d7d49ffd7a48 100644 (file)
@@ -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"