xcalibrateext: provice compatibility with old cvs version
authorKoen Kooi <koen@openembedded.org>
Fri, 18 May 2007 12:23:59 +0000 (12:23 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 18 May 2007 12:23:59 +0000 (12:23 +0000)
packages/xcalibrateext/xcalibrateext_git.bb

index 40c21eb..9e5943a 100644 (file)
@@ -3,6 +3,8 @@ SECTION = "x11/libs"
 LICENSE = "BSD-X"
 DESCRIPTION = "XCalibrate extension headers"
 
+PR = "r1"
+
 SRC_URI = "git://anongit.freedesktop.org/xorg/proto/calibrateproto;protocol=git"
 S = "${WORKDIR}/git"
 
@@ -10,4 +12,6 @@ inherit autotools pkgconfig
 
 do_stage() {
        autotools_stage_all
+       #make it compatible with the old package from cvs
+       ln -sf ${PKG_CONFIG_PATH}/xcalibrateproto.pc ${PKG_CONFIG_PATH}/xcalibrateext.pc
 }