From 139bf32df21d4359c8d8a7ea92216c5af2bf99e3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 6 May 2006 23:17:08 +0000 Subject: xlibs: Update XORG_MIRROR SRC_URIs to match upstream changes --- packages/xlibs/xorg-xlibs.inc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 packages/xlibs/xorg-xlibs.inc (limited to 'packages/xlibs/xorg-xlibs.inc') diff --git a/packages/xlibs/xorg-xlibs.inc b/packages/xlibs/xorg-xlibs.inc new file mode 100644 index 0000000000..037e2b9958 --- /dev/null +++ b/packages/xlibs/xorg-xlibs.inc @@ -0,0 +1,8 @@ +SRC_URI = "${XORG_MIRROR}/X11R7.0/src/lib/${XORG_PN}-X11R7.0-${PV}.tar.bz2" +S = "${WORKDIR}/${XORG_PN}-X11R7.0-${PV}" + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} -- cgit v1.2.3 From 09655e311453cc8681bf52305d838561d243a8b6 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Sun, 7 May 2006 07:51:24 +0000 Subject: xlibs: Fix XORG_MIRROR SRC_URI update. - This adds some python code to xorg-xlibs.inc to handle packages that already have 'X11R7.0-' in their PV (missing epoch support). --- packages/xlibs/xorg-xlibs.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/xlibs/xorg-xlibs.inc') diff --git a/packages/xlibs/xorg-xlibs.inc b/packages/xlibs/xorg-xlibs.inc index 037e2b9958..1a89d35363 100644 --- a/packages/xlibs/xorg-xlibs.inc +++ b/packages/xlibs/xorg-xlibs.inc @@ -1,5 +1,6 @@ -SRC_URI = "${XORG_MIRROR}/X11R7.0/src/lib/${XORG_PN}-X11R7.0-${PV}.tar.bz2" -S = "${WORKDIR}/${XORG_PN}-X11R7.0-${PV}" +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" +S = "${WORKDIR}/${XORG_PN}-${XORG_PV}" inherit autotools pkgconfig -- cgit v1.2.3