1SUMMARY = "C++ wrapper for libxml library" 2DESCRIPTION = "C++ wrapper for libxml library" 3HOMEPAGE = "http://libxmlplusplus.sourceforge.net" 4BUGTRACKER = "http://bugzilla.gnome.org/buglist.cgi?product=libxml%2B%2B" 5SECTION = "libs" 6LICENSE = "LGPL-2.1-or-later" 7LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 " 8 9SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" 10SRC_URI = "${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BP}.tar.xz \ 11 file://libxml++_ptest.patch \ 12 file://run-ptest \ 13" 14SRC_URI[sha256sum] = "9b59059abe5545d28ceb388a55e341095f197bd219c73e6623aeb6d801e00be8" 15 16DEPENDS = "libxml2 glibmm mm-common-native" 17 18inherit autotools pkgconfig ptest 19 20EXTRA_OECONF = "--disable-documentation" 21 22do_configure:prepend() { 23 mm-common-prepare --copy --force ${S} 24} 25 26do_compile_ptest() { 27 oe_runmake -C examples buildtest 28} 29 30FILES:${PN}-doc += "${datadir}/devhelp" 31FILES:${PN}-dev += "${libdir}/libxml++-2.6/include/libxml++config.h" 32 33RDEPENDS:${PN}-ptest += "make" 34