Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "A stream-oriented XML parser library" |
| 2 | DESCRIPTION = "Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags)" |
| 3 | HOMEPAGE = "http://expat.sourceforge.net/" |
| 4 | SECTION = "libs" |
| 5 | LICENSE = "MIT" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5b8620d98e49772d95fc1d291c26aa79" |
| 8 | |
| 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.bz2 \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 10 | file://libtool-tag.patch \ |
Andrew Geissler | b7d2861 | 2020-07-24 16:15:54 -0500 | [diff] [blame^] | 11 | file://run-ptest \ |
| 12 | file://0001-Add-output-of-tests-result.patch \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | " |
| 14 | |
Brad Bishop | f3f93bb | 2019-10-16 14:33:32 -0400 | [diff] [blame] | 15 | SRC_URI[md5sum] = "875a2c2ff3e8eb9e5a5cd62db2033ab5" |
| 16 | SRC_URI[sha256sum] = "f1063084dc4302a427dabcca499c8312b3a32a29b7d2506653ecc8f950a9a237" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | |
Andrew Geissler | b7d2861 | 2020-07-24 16:15:54 -0500 | [diff] [blame^] | 18 | EXTRA_OECMAKE_class-native += "-DEXPAT_BUILD_DOCS=OFF" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | |
Andrew Geissler | b7d2861 | 2020-07-24 16:15:54 -0500 | [diff] [blame^] | 20 | RDEPENDS_${PN}-ptest += "bash" |
| 21 | |
| 22 | inherit cmake lib_package ptest |
| 23 | |
| 24 | do_install_ptest_class-target() { |
| 25 | install -m 755 ${B}/tests/* ${D}${PTEST_PATH} |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | } |
| 27 | |
Andrew Geissler | b7d2861 | 2020-07-24 16:15:54 -0500 | [diff] [blame^] | 28 | BBCLASSEXTEND += "native nativesdk" |