diff options
author | Michael Fitzmayer <mail@michael-fitzmayer.de> | 2024-11-21 21:28:35 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-11-21 21:42:37 -0800 |
commit | edd83e2e6a33c6028b9be3b922233cc7885293a1 (patch) | |
tree | 2eaa7ef3fcf39fa8402c0bbbf75777e5dfc5c1ea | |
parent | 22542bb870354096541b7500c8f9f03e0e782600 (diff) | |
download | meta-openembedded-edd83e2e6a33c6028b9be3b922233cc7885293a1.tar.gz |
Add recipe: pocketpy 2.0.2
pocketpy is a portable Python 3.x Interpreter in Modern C.
It aims to be an alternative to lua for game scripting, with elegant
syntax, powerful features and competitive performance. pkpy is
extremely easy to embed via a single header file pocketpy.h, without
external dependencies.
Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file mode 100644 index 0000000000..28ac67d8d6 --- /dev/null +++ b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "A Portable Python 3.x Interpreter in Modern C." | ||
2 | DESCRIPTION = "pkpy is a lightweight(~15K LOC) Python 3.x \ | ||
3 | interpreter for game scripting, written in C11. \ | ||
4 | It aims to be an alternative to lua for game \ | ||
5 | scripting, with elegant syntax, powerful features \ | ||
6 | and competitive performance. pkpy is extremely \ | ||
7 | easy to embed via a single header file pocketpy.h, \ | ||
8 | without external dependencies. \ | ||
9 | " | ||
10 | HOMEPAGE = "https://pocketpy.dev/" | ||
11 | BUGTRACKER = "https://github.com/pocketpy/pocketpy/issues" | ||
12 | |||
13 | LICENSE = "MIT" | ||
14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8cdfa87bc5e09bc07f8cf64135026d91" | ||
15 | |||
16 | SRC_URI = "git://github.com/pocketpy/pocketpy.git;protocol=https;branch=main" | ||
17 | SRCREV = "b5a443efa11e7d6576025d1b9a397ead9e9260c9" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit cmake | ||
22 | |||
23 | do_install() { | ||
24 | install -d ${D}${libdir} | ||
25 | install -m 0644 ${B}/libpocketpy.so ${D}${libdir}/ | ||
26 | install -d ${D}${includedir}/pocketpy | ||
27 | cp -r ${S}/include/* ${D}${includedir}/pocketpy/ | ||
28 | } | ||
29 | |||
30 | FILES:${PN} = "${libdir}/libpocketpy.so" | ||
31 | FILES:${PN}-dev = "${includedir}/pocketpy" | ||
32 | FILES:${PN}-dbg += "${libdir}/.debug/libpocketpy.so" | ||