blob: a2a3ce71c0536fea022a356f2fd4736db69499e3 [file] [log] [blame]
developer2a209692023-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 \
9 file://0001-change-cmakelist.patch \
10"
11
12SRCREV = "c7d84aae09691a99ae3db427c0b2463732ef84f4"
13PV = "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}/*"
24FILES_${PN} = "${bindir}/ucode ${libdir}/libucode.so* ${libdir}/ucode/*"
25
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 \
36 -DUBUS_SUPPORT=OFF \
37 -DUCI_SUPPORT=ON \
38 -DULOOP_SUPPORT=ON \
39 "
40