Skip to contentSkip to conversation

doxygen: add API documentation generation tool

PATCH New Sam Nelson 1 participant 2 messages Mar 2, 2016

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/2 doxygen: add API documentation generation tool

From: Ross Burton <[email protected]>

Based on doxygen-native by Zongchun Yu <[email protected]>.

---
Bringing this from
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/patch/?id=eae880e4aa5426d73f8695a3748db5a55915909c
and the folder moved to meta-arago-extras
---

---
 .../recipes-devtools/doxygen/doxygen_1.8.6.bb      | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/doxygen/doxygen_1.8.6.bb
meta-arago-extras/recipes-devtools/doxygen/doxygen_1.8.6.bb new file +32 -0
new file mode 100644
index 0000000..bef665e
@@ -0,0 +1,32 @@
+DESCRIPTION = "Utilities for generating documentation from source code"
+HOMEPAGE = "http://www.doxygen.org/"
+SECTION = "console/utils"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b380c86cea229fa42b9e543fc491f5eb"
+
+DEPENDS = "flex-native bison-native"
+
+SRC_URI = "http://ftp.stack.nl/pub/users/dimitri/${BP}.src.tar.gz"
+SRC_URI[md5sum] = "9385dc52f0627875f8fa758e754ec674"
+SRC_URI[sha256sum] = "6a718625f0c0c1eb3dee78ec1f83409b49e790f4c6c47fd44cd51cb92695535f"
+
+EXTRA_OECONF = "--prefix ${prefix}"
+
+do_configure () {
+	./configure ${EXTRA_OECONF}
+
+	# TODO on rebuilds will repeatedly append.  Change logic to include a
+	# separate file and overwrite that file?
+        echo "TMAKE_CC=${CC}" >> tmake/lib/linux-g++/tmake.conf
+        echo "TMAKE_CXX=${CXX}" >> tmake/lib/linux-g++/tmake.conf
+        echo "TMAKE_CFLAGS=${CFLAGS}" >> tmake/lib/linux-g++/tmake.conf
+        echo "TMAKE_CXXFLAGS=${CXXFLAGS}" >> tmake/lib/linux-g++/tmake.conf
+        echo "TMAKE_LINK=${CXX}" >> tmake/lib/linux-g++/tmake.conf
+        echo "TMAKE_LFLAGS=${LDFLAGS}" >> tmake/lib/linux-g++/tmake.conf
+}
+
+do_install() {
+	oe_runmake install DESTDIR=${D} MAN1DIR=share/man/man1
+}
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 2/2 doxygen: Update to new version 1.8.9.1

---
 .../recipes-devtools/doxygen/{doxygen_1.8.6.bb => doxygen_1.8.9.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-arago-extras/recipes-devtools/doxygen/{doxygen_1.8.6.bb => doxygen_1.8.9.1.bb} (88%)
meta-arago-extras/recipes-devtools/doxygen/doxygen_1.8.9.1.bb renamed from meta-arago-extras/recipes-devtools/doxygen/doxygen_1.8.6.bb +2 -2
similarity index 88%
rename from meta-arago-extras/recipes-devtools/doxygen/doxygen_1.8.6.bb
rename to meta-arago-extras/recipes-devtools/doxygen/doxygen_1.8.9.1.bb
index bef665e..23919e8 100644
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b380c86cea229fa42b9e543fc491f5eb"
 DEPENDS = "flex-native bison-native"
 
 SRC_URI = "http://ftp.stack.nl/pub/users/dimitri/${BP}.src.tar.gz"
-SRC_URI[md5sum] = "9385dc52f0627875f8fa758e754ec674"
-SRC_URI[sha256sum] = "6a718625f0c0c1eb3dee78ec1f83409b49e790f4c6c47fd44cd51cb92695535f"
+SRC_URI[md5sum] = "3d1a5c26bef358c10a3894f356a69fbc"
+SRC_URI[sha256sum] = "d4ab6e28d4d45d8956cad17470aade3fbe2356e8f64b92167e738c1887feccec"
 
 EXTRA_OECONF = "--prefix ${prefix}"
 
Signature · 1 line
1.9.1