Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DESCRIPTION = "A simple, small, C++ XML parser that can be easily integrated into other programs"
- LICENSE = "zlib"
- LIC_FILES_CHKSUM = "file://tinyxml.cpp;endline=23;md5=b97285d8fafcc49b761ca785816cc397"
- SRC_URI = "http://ftp.debian.org/debian/pool/main/t/tinyxml/${PN}_${PV}.orig.tar.gz \
- file://tinyxml-0001-disable-xmltest.patch \
- file://tinyxml-0002-enforce-use-stl.patch \
- "
- SRC_URI[md5sum] = "c1b864c96804a10526540c664ade67f0"
- SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
- S = "${WORKDIR}/tinyxml"
- TINYXML_USE_STL = "YES"
- do_compile() {
- oe_runmake LD="${CXX} -DTIXML_USE_STL"
- ${CXX} -fpic -shared -o lib${PN}.so.0.${PV} \
- -Wl,-soname,lib${PN}.so.0 $(ls *.o | grep -v xmltest)
- }
- do_install() {
- install -d -m 0755 ${D}${libdir}
- install -d -m 0755 ${D}${includedir}
- install -m 0755 lib${PN}.so.0.${PV} ${D}${libdir}
- install -m 0644 ${PN}.h tinystr.h ${D}${includedir}
- (cd ${D}${libdir}
- ln -s lib${PN}.so.0.${PV} lib${PN}.so.0
- ln -s lib${PN}.so.0.${PV} lib${PN}.so
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement