X11R7.2 preparation: xorg-doc
authorPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 28 Mar 2007 08:29:34 +0000 (08:29 +0000)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 28 Mar 2007 08:29:34 +0000 (08:29 +0000)
- add individual release support to xorg-doc-common.inc
- add new X11R7.2 release (individual release version)
  of xorg-sgml-doctools

packages/xorg-doc/xorg-doc-common.inc
packages/xorg-doc/xorg-sgml-doctools_1.1.1.bb [new file with mode: 0644]

index de47e60..4c3d6e8 100644 (file)
@@ -5,7 +5,8 @@ LICENSE = "MIT-X"
 
 #DEPENDS = ""
 XORG_PN = "${PN}"
-SRC_URI = "${XORG_MIRROR}/${@bb.data.getVar('PV', d, 1)[0:7]}/src/doc/${XORG_PN}-${PV}.tar.bz2"
+XORG_RELEASE = "${@["individual",bb.data.getVar('PV', d, 1)[0:7]+"/src"][bb.data.getVar('PV', d, 1)[0:4] == "X11R"]}"
+SRC_URI = "${XORG_MIRROR}/${XORG_RELEASE}/doc/${XORG_PN}-${PV}.tar.bz2"
 S = "${WORKDIR}/${XORG_PN}-${PV}"
 
 inherit autotools pkgconfig
diff --git a/packages/xorg-doc/xorg-sgml-doctools_1.1.1.bb b/packages/xorg-doc/xorg-sgml-doctools_1.1.1.bb
new file mode 100644 (file)
index 0000000..18a3ef9
--- /dev/null
@@ -0,0 +1,8 @@
+require xorg-doc-common.inc
+PE = "1"
+
+#DESCRIPTION = ""
+
+#DEPENDS += " "
+
+FILES_${PN} += " /usr/share/X11/sgml"