Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 1 | DESCRIPTION = "Config file parser module" |
| 2 | HOMEPAGE = "http://search.cpan.org/dist/Config-General/" |
| 3 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" |
| 4 | SECTION = "libs" |
| 5 | LIC_FILES_CHKSUM = "file://README;beginline=90;endline=90;md5=3ba4bbac1e79a08332688196f637d2b2" |
| 6 | |
| 7 | SRCNAME = "Config-General" |
| 8 | |
| 9 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/${SRCNAME}-${PV}.tar.gz" |
| 10 | |
| 11 | SRC_URI[md5sum] = "e3ea2a6dc76931cf638b5227aceabf60" |
| 12 | SRC_URI[sha256sum] = "0a9bf977b8aabe76343e88095d2296c8a422410fd2a05a1901f2b20e2e1f6fad" |
| 13 | |
| 14 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
| 15 | |
| 16 | COMPATIBLE_HOST:libc-musl = "null" |
| 17 | |
| 18 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" |
| 19 | |
| 20 | inherit cpan |
| 21 | |
| 22 | do_compile() { |
| 23 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" |
| 24 | cpan_do_compile |
| 25 | } |