Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cyaml: new recipe #770

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions meta-oe/recipes-support/cyaml/cyaml_1.4.1.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
SUMMARY = "Cyaml library"
DESCRIPTION = "LibCYAML is a library for reading and writing structured YAML documents."
HOMEPAGE = "https:/tlsa/libcyaml"
SECTION = "libs"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fe6f0e49348c87bddd5d27803dceaaf0"
DEPENDS = " \
libyaml \
"
SRCREV = "07ff8654a270ec9b410acd3152b60de9e9f941af"

SRC_URI = "git:/tlsa/libcyaml.git;protocol=https;branch=main"

S = "${WORKDIR}/git"

inherit pkgconfig

EXTRA_OEMAKE = "'PREFIX=""' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}' 'INCLUDEDIR=${includedir}' 'VARIANT=release'"

do_compile() {
oe_runmake
}
do_install() {
oe_runmake install
}

CFLAGS += "-pedantic -Wall -Wextra -O3 -Iinclude"