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