summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/libtinyxml2/libtinyxml2_3.0.0.bb15
-rw-r--r--meta-oe/recipes-support/libtinyxml2/libtinyxml2_git.bb37
2 files changed, 15 insertions, 37 deletions
diff --git a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_3.0.0.bb b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_3.0.0.bb
new file mode 100644
index 000000000..af0b785a6
--- /dev/null
+++ b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_3.0.0.bb
@@ -0,0 +1,15 @@
1SUMMARY = "TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrating into other programs"
2HOMEPAGE = "http://www.grinninglizard.com/tinyxml2/"
3SECTION = "libs"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://tinyxml2.cpp;endline=22;md5=c19221dbd8a66ad3090462af4c5de5e7"
6
7SRC_URI = "git://github.com/leethomason/tinyxml2.git"
8
9SRCREV = "1977a7258cc66fd4da7f1e9da05a4933646a7803"
10
11S = "${WORKDIR}/git"
12
13inherit cmake
14
15BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_git.bb b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_git.bb
deleted file mode 100644
index 6ca6f7cbf..000000000
--- a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_git.bb
+++ /dev/null
@@ -1,37 +0,0 @@
1SUMMARY = "TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrating into other programs."
2HOMEPAGE = "http://www.grinninglizard.com/tinyxml2/"
3LICENSE = "Zlib"
4LIC_FILES_CHKSUM = "file://readme.md;md5=0033b2f8a25283414b21354670bb1334"
5SECTION = "libs"
6
7SRCREV = "d211bb13512cf4edb408e2c4badbcf4100ce0fd0"
8
9PV = "2.2.0+git${SRCPV}"
10
11SRC_URI = "git://github.com/leethomason/tinyxml2.git"
12
13S = "${WORKDIR}/git"
14
15EXTRA_CXXFLAGS = "-I. -fPIC"
16
17do_compile() {
18 ${CXX} ${CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o tinyxml2.o tinyxml2.cpp
19 ${CXX} ${CXXFLAGS} \
20 -shared \
21 -Wl,-soname,libtinyxml2.so.${PV} \
22 -o libtinyxml2.so.${PV} \
23 ${LDFLAGS} \
24 tinyxml2.o
25}
26
27do_install() {
28 install -d ${D}${libdir}
29 install -m 0755 ${S}/libtinyxml2.so.${PV} ${D}${libdir}
30 ln -sf libtinyxml2.so.${PV} ${D}${libdir}/libtinyxml2.so
31
32 install -d ${D}${includedir}
33 install -m 0644 ${S}/tinyxml2.h ${D}${includedir}
34}
35
36BBCLASSEXTEND += "native"
37