summaryrefslogtreecommitdiff
path: root/packages/xlibs/xorg-xlibs.inc
diff options
context:
space:
mode:
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() {