blob: 0a7ceef11b8bf44c3bab86638dbce8c2c8eed5e9 [file] [log] [blame]
developerf0fd7052023-08-14 20:23:42 +08001DESCRIPTION = "Tiny scripting and templating language"
2SECTION = "lang"
3LICENSE_NAME = "ISC"
4LICENSE = "${LICENSE_NAME}"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=b42eb47dc3802282b0d1be1bc8f5336c"
6
7SRC_URI = " \
8 git://git@github.com/jow-/ucode.git;protocol=https \
developer4697a312023-11-30 15:52:52 +08009 file://0001-change-cmakelist.patch \
developerf0fd7052023-08-14 20:23:42 +080010"
11
developerab5e7752023-12-21 16:18:59 +080012SRCREV = "6e89b89e95bbb140bbff5ab72b8c9632727bf6a6"
developerf0fd7052023-08-14 20:23:42 +080013PV = "git${SRCPV}"
14
15S = "${WORKDIR}/git"
16
17
18DEPENDS += "libnl-tiny libubox ubus uci"
19
20INSANE_SKIP_${PN} += "file-rdeps dev-deps dev-so"
21FILES_SOLIBSDEV = ""
22
23FILES_${PN}-dev = "${includedir}/*"
developere92ee3c2023-10-25 17:01:28 +080024FILES_${PN} = "${bindir}/* ${libdir}/libucode.so* ${libdir}/ucode/*"
developerf0fd7052023-08-14 20:23:42 +080025
26inherit cmake pkgconfig python3native
27
28
29EXTRA_OECMAKE = "\
30 -DFS_SUPPORT=ON \
31 -DMATH_SUPPORT=ON \
32 -DNL80211_SUPPORT=ON \
33 -DRESOLV_SUPPORT=ON \
34 -DRTNL_SUPPORT=ON \
35 -DSTRUCT_SUPPORT=ON \
developere92ee3c2023-10-25 17:01:28 +080036 -DUBUS_SUPPORT=ON \
developerf0fd7052023-08-14 20:23:42 +080037 -DUCI_SUPPORT=ON \
38 -DULOOP_SUPPORT=ON \
39 "
40