From b0b9841b2d8b63afb7fbc97b4bd968724101b88d Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 17 Jan 2007 08:50:52 +0000 Subject: xfce.bbclass: provide bz2 extension for 4.33.99.2 (4.4-rc2) release --- classes/xfce.bbclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3