Advertisement
Guest User

Untitled

a guest
Oct 1st, 2012
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. DESCRIPTION = "A simple, small, C++ XML parser that can be easily integrated into other programs"
  2.  
  3. LICENSE = "zlib"
  4. LIC_FILES_CHKSUM = "file://tinyxml.cpp;endline=23;md5=b97285d8fafcc49b761ca785816cc397"
  5.  
  6. SRC_URI = "http://ftp.debian.org/debian/pool/main/t/tinyxml/${PN}_${PV}.orig.tar.gz \
  7. file://tinyxml-0001-disable-xmltest.patch \
  8. file://tinyxml-0002-enforce-use-stl.patch \
  9. "
  10.  
  11. SRC_URI[md5sum] = "c1b864c96804a10526540c664ade67f0"
  12. SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
  13.  
  14. S = "${WORKDIR}/tinyxml"
  15.  
  16. TINYXML_USE_STL = "YES"
  17.  
  18. do_compile() {
  19. oe_runmake LD="${CXX} -DTIXML_USE_STL"
  20.  
  21. ${CXX} -fpic -shared -o lib${PN}.so.0.${PV} \
  22. -Wl,-soname,lib${PN}.so.0 $(ls *.o | grep -v xmltest)
  23.  
  24. }
  25.  
  26. do_install() {
  27.  
  28. install -d -m 0755 ${D}${libdir}
  29. install -d -m 0755 ${D}${includedir}
  30. install -m 0755 lib${PN}.so.0.${PV} ${D}${libdir}
  31. install -m 0644 ${PN}.h tinystr.h ${D}${includedir}
  32.  
  33. (cd ${D}${libdir}
  34. ln -s lib${PN}.so.0.${PV} lib${PN}.so.0
  35. ln -s lib${PN}.so.0.${PV} lib${PN}.so
  36. )
  37.  
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement