Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 1 | SUMMARY = "Cyaml library" |
| 2 | DESCRIPTION = "LibCYAML is a library for reading and writing structured YAML documents." |
| 3 | HOMEPAGE = "https://github.com/tlsa/libcyaml" |
| 4 | SECTION = "libs" |
| 5 | LICENSE = "ISC" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fe6f0e49348c87bddd5d27803dceaaf0" |
| 7 | DEPENDS = " \ |
| 8 | libyaml \ |
| 9 | " |
| 10 | SRCREV = "07ff8654a270ec9b410acd3152b60de9e9f941af" |
| 11 | |
| 12 | SRC_URI = "git://github.com/tlsa/libcyaml.git;protocol=https;branch=main" |
| 13 | |
| 14 | S = "${WORKDIR}/git" |
| 15 | |
| 16 | inherit pkgconfig |
| 17 | |
| 18 | EXTRA_OEMAKE = "'PREFIX=""' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}' 'INCLUDEDIR=${includedir}' 'VARIANT=release'" |
| 19 | |
| 20 | do_compile() { |
| 21 | oe_runmake |
| 22 | } |
| 23 | do_install() { |
| 24 | oe_runmake install |
| 25 | } |
| 26 | |
| 27 | CFLAGS += "-pedantic -Wall -Wextra -O3 -Iinclude" |