diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-01-22 10:04:30 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-01-22 10:04:30 +0000 |
commit | c3be2a552db104291accd82b2e674d31d5527fcc (patch) | |
tree | 422e82bf481b26c2a0e883d60b459cbc243d436e /classes/xfce.bbclass | |
parent | 3a508238c49e86e0476319bfe71a24fdfdd56b66 (diff) | |
parent | 4693c8ab28f246ce11a0b80b27ab6127aea14c52 (diff) |
merge of '77df6e755fc8272db3fd5e4c3b0620b4453ca180'
and 'f0261ce1c4acd6350d91bdaaf2939442d84a222d'
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 |