aboutsummaryrefslogtreecommitdiffstats
path: root/classes/xfce.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-17 08:50:52 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-17 08:50:52 +0000
commitb0b9841b2d8b63afb7fbc97b4bd968724101b88d (patch)
treea7584a3e00d4e2d611ec725faca8f0dbebe181d9 /classes/xfce.bbclass
parent1e0103a659358ac90851fb867e323147e1dfab82 (diff)
downloadopenembedded-b0b9841b2d8b63afb7fbc97b4bd968724101b88d.tar.gz
xfce.bbclass: provide bz2 extension for 4.33.99.2 (4.4-rc2) release
Diffstat (limited to 'classes/xfce.bbclass')
-rw-r--r--classes/xfce.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/classes/xfce.bbclass b/classes/xfce.bbclass
index 793348597f..8124dc877c 100644
--- a/classes/xfce.bbclass
+++ b/classes/xfce.bbclass
@@ -7,7 +7,13 @@
HOMEPAGE = "http://www.xfce.org"
LICENSE = "LGPL-2"
-SRC_URI = "http://www.us.xfce.org/archive/xfce-${PV}/src/${PN}-${PV}.tar.gz"
+def xfce_extension(ver):
+ ext = "gz"
+ if ver == "4.3.99.2":
+ ext = "bz2"
+ return ext
+
+SRC_URI = "http://www.us.xfce.org/archive/xfce-${PV}/src/${PN}-${PV}.tar.${@xfce_extension("${PV}")}"
inherit autotools