blob: e202de05a7259408351ac67ae8f9b232a1121714 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "This package contains the Parser.pm module with friends."
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002HOMEPAGE = "https://metacpan.org/release/HTML-Parser"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05003SECTION = "libs"
4LICENSE = "Artistic-1.0 | GPL-1.0+"
5
6LIC_FILES_CHKSUM = "file://README;md5=b0459e4426b94753b9a9b8a15f1223b8"
7
8DEPENDS += "perl"
9
10SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-${PV}.tar.gz"
11
12SRC_URI[md5sum] = "eb7505e5f626913350df9dd4a03d54a8"
13SRC_URI[sha256sum] = "ec28c7e1d9e67c45eca197077f7cdc41ead1bb4c538c7f02a3296a4bb92f608b"
14
15S = "${WORKDIR}/HTML-Parser-${PV}"
16
17EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
18
19inherit cpan
20
21do_compile() {
Patrick Williamsddad1a12017-02-23 20:36:32 -060022 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
23 cpan_do_compile
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024}
25BBCLASSEXTEND = "native"