diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-06-08 16:15:44 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-06-23 12:41:54 +0200 |
commit | 6b37ab5718a1fbf7c31486adf5a003601ec7f0e7 (patch) | |
tree | 343d013ea89677cf98f09e0551f3abcc88e6a57e /meta-oe/recipes-support/minini | |
parent | e48d73e842a236b4a76ab6761e1addc1f40fbd0b (diff) | |
download | meta-openembedded-6b37ab5718a1fbf7c31486adf5a003601ec7f0e7.tar.gz |
minini: add initial recipe, minIni v1.2.b
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/minini')
-rw-r--r-- | meta-oe/recipes-support/minini/minini_1.2.b.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/minini/minini_1.2.b.bb b/meta-oe/recipes-support/minini/minini_1.2.b.bb new file mode 100644 index 000000000..e73949882 --- /dev/null +++ b/meta-oe/recipes-support/minini/minini_1.2.b.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "A minimal INI file parser" | ||
2 | DESCRIPTION = "minIni is a programmer's library to read and write INI files in \ | ||
3 | embedded systems. minIni takes little resources, has a deterministic memory \ | ||
4 | footprint and can be configured for various kinds of file I/O libraries. minIni \ | ||
5 | provides functionality for reading, writing and deleting keys from an INI file, \ | ||
6 | all in 830 lines of (commented) source code (version 1.2) in C (the code also \ | ||
7 | compiles in C++ and comes with a wrapper class)." | ||
8 | HOMEPAGE = "https://code.google.com/p/minini/" | ||
9 | |||
10 | # License is Apache 2.0 with an exception to allow object code built from | ||
11 | # unmodified original sources to be distributed more freely. See LICENSE | ||
12 | # file for details. | ||
13 | |||
14 | LICENSE = "Apache-2.0" | ||
15 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eb21481ad45c5578ae8c8d37b8c8d76d" | ||
16 | |||
17 | SRC_URI = "http://minini.googlecode.com/files/minIni_12b.zip;subdir=${BP}" | ||
18 | |||
19 | SRC_URI[md5sum] = "32740621098e3f0a321c7c23f4bcbc5d" | ||
20 | SRC_URI[sha256sum] = "b08839af74acb36061fb76e1123bf56711bc5cf7a08b32e189b0ad78a2e888e2" | ||
21 | |||
22 | do_configure[noexec] = "1" | ||
23 | |||
24 | do_compile() { | ||
25 | ${CC} minIni.c -shared -fPIC -o libminini.so.0.0 -Wl,-soname,libminini.so.0 ${CFLAGS} ${LDFLAGS} | ||
26 | } | ||
27 | |||
28 | do_install () { | ||
29 | |||
30 | install -d ${D}${libdir} | ||
31 | install -m 0644 libminini.so.0.0 ${D}${libdir}/ | ||
32 | ln -s libminini.so.0.0 ${D}${libdir}/libminini.so | ||
33 | ln -s libminini.so.0.0 ${D}${libdir}/libminini.so.0 | ||
34 | |||
35 | install -d ${D}${includedir}/minini | ||
36 | install -m 0644 minIni.h ${D}${includedir}/minini/ | ||
37 | install -m 0644 minGlue-stdio.h ${D}${includedir}/minini/minGlue.h | ||
38 | } | ||