doxygen-native: add recipe
PATCH v2 1/2 doxygen-native: add recipe
From: Zongchun Yu <[email protected]>
--- .../doxygen/doxygen-native_1.8.6.bb | 23 ++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/doxygen/doxygen-native_1.8.6.bb
meta/recipes-devtools/doxygen/doxygen-native_1.8.6.bb new file +23 -0
@@ -0,0 +1,23 @@ +DESCRIPTION = "Utilities for generating documentation from source code" +HOMEPAGE = "http://www.stack.nl/~dimitri/doxygen/index.html" +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/doxygen-${PV}.src.tar.gz" + +SRC_URI[md5sum] = "9385dc52f0627875f8fa758e754ec674" +SRC_URI[sha256sum] = "6a718625f0c0c1eb3dee78ec1f83409b49e790f4c6c47fd44cd51cb92695535f" + +inherit native + +EXTRA_OECONF = "--prefix ${prefix}" + +do_configure () { + ./configure ${EXTRA_OECONF} +} + +do_install() { + oe_runmake install DESTDIR=${D} MAN1DIR=share/man/man1 +}
Signature · 1 line
1.7.0.4
Whilst this recipe works, I wonder if it would be more useful if it were cross-compilable and used BBCLASSEXTEND to become native.
Ross
Quoted 45 lines · On 23 May 2014 07:08, <[email protected]> wrote:
From: Zongchun Yu <[email protected]>
Signed-off-by Zongchun Yu <[email protected]>--- .../doxygen/doxygen-native_1.8.6.bb | 23 ++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/doxygen/doxygen-native_1.8.6.bbmeta/recipes-devtools/doxygen/doxygen-native_1.8.6.bb new file +23
-1@@ -0,0 +1,23 @@ +DESCRIPTION = "Utilities for generating documentation from source code" +HOMEPAGE = "http://www.stack.nl/~dimitri/doxygen/index.html" +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/doxygen-${PV}.src.tar.gz" + +SRC_URI[md5sum] = "9385dc52f0627875f8fa758e754ec674" +SRC_URI[sha256sum] = "6a718625f0c0c1eb3dee78ec1f83409b49e790f4c6c47fd44cd51cb92695535f" + +inherit native + +EXTRA_OECONF = "--prefix ${prefix}" + +do_configure () { + ./configure ${EXTRA_OECONF} +} + +do_install() { + oe_runmake install DESTDIR=${D} MAN1DIR=share/man/man1 +} --1.7.0.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 2 lines · Ross
Whilst this recipe works, I wonder if it would be more useful if it were cross-compilable and used BBCLASSEXTEND to become native.
"That can't be too hard" I thought. "Surely something as common as doxygen has a reasonable build system" I thought.
When scratching an itch I discovered that Qt had written another build system (I make that three so far), but this branch appears to be able to build both target and native doxygen binaries:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ross/doxy
Apart from the TODO in the recipe that needs to be resolved, it's entirely untested on both host and target.
Ross
Quoted 2 lines
Whilst this recipe works, I wonder if it would be more useful if it were cross-compilable and used BBCLASSEXTEND to become native.
Yes. I agree. it would be more useful.