diff options
Diffstat (limited to 'meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb new file mode 100644 index 0000000000..c5fc4f0f6e --- /dev/null +++ b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 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=c292beb20a17db07c359b0cc2c039027" | ||
| 15 | |||
| 16 | SRC_URI = "git://github.com/pocketpy/pocketpy.git;protocol=https;branch=main" | ||
| 17 | SRCREV = "b6a6aa85a6cbfe0427b48e523d53ee3832bf5bd2" | ||
| 18 | |||
| 19 | |||
| 20 | inherit cmake | ||
| 21 | |||
| 22 | EXTRA_OECMAKE = "\ | ||
| 23 | -DPK_ENABLE_OS=ON \ | ||
| 24 | " | ||
| 25 | |||
| 26 | CFLAGS += "-fPIC" | ||
| 27 | |||
| 28 | do_install() { | ||
| 29 | install -d ${D}${libdir} | ||
| 30 | install -m 0644 ${B}/libpocketpy.so ${D}${libdir}/ | ||
| 31 | install -d ${D}${includedir}/pocketpy | ||
| 32 | cp -r ${S}/include/* ${D}${includedir}/pocketpy/ | ||
| 33 | } | ||
| 34 | |||
| 35 | FILES:${PN} = "${libdir}/libpocketpy.so" | ||
| 36 | FILES:${PN}-dev = "${includedir}/pocketpy" | ||
| 37 | FILES:${PN}-dbg += "${libdir}/.debug/libpocketpy.so" | ||
