diff options
| author | Philip Balister <philip@balister.org> | 2007-01-18 15:15:25 +0000 |
|---|---|---|
| committer | Philip Balister <philip@balister.org> | 2007-01-18 15:15:25 +0000 |
| commit | 585f4e7c27219d784cbed507eab188b91d9ad0f1 (patch) | |
| tree | 77c2025f3ebdbac1c07e17bc923a4efb8fde9a5c /classes/xfce.bbclass | |
| parent | 4e96c29dc9b9ea5f6652ed63bcfd82d912ab41b8 (diff) | |
| parent | 419ef2d081af1db73844871ce0858abda1bf7ec9 (diff) | |
merge of '16141cfb7ddd939f1759a94546b737b35c0ece43'
and 'c77de7a09c5852f1bfe63afbd011ef701c76bdf6'
Diffstat (limited to 'classes/xfce.bbclass')
| -rw-r--r-- | classes/xfce.bbclass | 8 |
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 |
