[oe] Issues building tinyXML
Koen Kooi
koen at dominion.thruhere.net
Thu Sep 6 16:42:40 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 06-09-12 18:36, Jack Mitchell schreef:
> 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"
>
> SRC_URI[md5sum] = "c1b864c96804a10526540c664ade67f0" SRC_URI[sha256sum]
> = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
>
> S = "${WORKDIR}/tinyxml"
>
> TINYXML_USE_STL = "YES"
>
> do_compile() { oe_runmake LD="${CXX}"
>
> ${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}/usr/{lib,include}
${libdir}
${includedir}
> install -m 0755 lib${PN}.so.0.${PV} ${D}${libdir} install -m 0644 ${PN}.h
> tinystr.h ${D}${includedir}
>
> (cd ${D}/usr/lib
${libdir}
> ln -s lib${PN}.so.0.${PV} lib${PN}.so.0 ln -s lib${PN}.so.0.${PV}
> lib${PN}.so )
>
> }
>
> FILES_${PN}-dbg = "/usr/src/debug \ ${libdir}/.debug \
Both should be in already, no?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQSNKAMkyGM64RGpERAiQYAJ4vU59XUZ1Ae+8BQaH1ejZ2DjK97QCeL8PL
sogMu1ndRf9XyrUgi0O6PbY=
=1PxS
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list