From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../meta-oe/recipes-support/minini/minini_1.2.b.bb | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 meta-openembedded/meta-oe/recipes-support/minini/minini_1.2.b.bb (limited to 'meta-openembedded/meta-oe/recipes-support/minini/minini_1.2.b.bb') diff --git a/meta-openembedded/meta-oe/recipes-support/minini/minini_1.2.b.bb b/meta-openembedded/meta-oe/recipes-support/minini/minini_1.2.b.bb new file mode 100644 index 000000000..4a73f1212 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-support/minini/minini_1.2.b.bb @@ -0,0 +1,39 @@ +SUMMARY = "A minimal INI file parser" +DESCRIPTION = "minIni is a programmer's library to read and write INI files in \ +embedded systems. minIni takes little resources, has a deterministic memory \ +footprint and can be configured for various kinds of file I/O libraries. minIni \ +provides functionality for reading, writing and deleting keys from an INI file, \ +all in 830 lines of (commented) source code (version 1.2) in C (the code also \ +compiles in C++ and comes with a wrapper class)." +HOMEPAGE = "https://code.google.com/p/minini/" + +# License is Apache 2.0 with an exception to allow object code built from +# unmodified original sources to be distributed more freely. See LICENSE +# file for details. + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=eb21481ad45c5578ae8c8d37b8c8d76d" + +SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/minini/minIni_12b.zip;subdir=${BP}" + +SRC_URI[md5sum] = "32740621098e3f0a321c7c23f4bcbc5d" +SRC_URI[sha256sum] = "b08839af74acb36061fb76e1123bf56711bc5cf7a08b32e189b0ad78a2e888e2" + +do_configure[noexec] = "1" + +do_compile() { + ${CC} ${CFLAGS} -fPIC -c minIni.c -o minIni.o + ${CC} ${LDFLAGS} -shared -Wl,-soname,libminini.so.0 minIni.o -o libminini.so.0.0 +} + +do_install () { + + install -d ${D}${libdir} + install -m 0644 libminini.so.0.0 ${D}${libdir}/ + ln -s libminini.so.0.0 ${D}${libdir}/libminini.so + ln -s libminini.so.0.0 ${D}${libdir}/libminini.so.0 + + install -d ${D}${includedir}/minini + install -m 0644 minIni.h ${D}${includedir}/minini/ + install -m 0644 minGlue-stdio.h ${D}${includedir}/minini/minGlue.h +} -- cgit v1.2.3