summaryrefslogtreecommitdiff
path: root/packages/xlibs/xorg-xlibs.inc
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-06-12 16:43:22 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-12 16:43:22 +0000
commit29b7baee5177b23d883d8273e0d723cab3b2106c (patch)
tree8ff70dbaf16009af09016e0890b45193deb61b62 /packages/xlibs/xorg-xlibs.inc
parent677297a21ee1aef58c302dfcba97416cbaae16c7 (diff)
parentc57248a0ba3e82e7e2111a1f23a5dfb91495d7da (diff)
merge of 472137c91cd2763cfea42083bda4e61baa8fadac
and ea7b1dd351debede509c701575f64be3804a0c93
Diffstat (limited to 'packages/xlibs/xorg-xlibs.inc')
-rw-r--r--packages/xlibs/xorg-xlibs.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/xlibs/xorg-xlibs.inc b/packages/xlibs/xorg-xlibs.inc
index 1a89d35363..8fb46777b0 100644
--- a/packages/xlibs/xorg-xlibs.inc
+++ b/packages/xlibs/xorg-xlibs.inc
@@ -1,7 +1,10 @@
-XORG_PV = "${@['X11R7.0-${PV}','${PV}'][bb.data.getVar('PV', d, 1)[0:8]=='X11R7.0-']}"
-SRC_URI = "${XORG_MIRROR}/X11R7.0/src/lib/${XORG_PN}-${XORG_PV}.tar.bz2"
+XORG_PV = "${@['${XORG_RELEASE}-${PV}','${PV}'][bb.data.getVar('PV', d, 1)[0:4]=='X11R']}"
+XORG_RELEASE ?= "X11R7.0"
+
+SRC_URI = "${XORG_MIRROR}/${XORG_RELEASE}/src/lib/${XORG_PN}-${XORG_PV}.tar.bz2"
S = "${WORKDIR}/${XORG_PN}-${XORG_PV}"
+
inherit autotools pkgconfig
do_stage() {