blob: e8d62a923ba99ffa7844cd239a09d126abab460a [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 \
developerf0fd7052023-08-14 20:23:42 +08009"
10
developere92ee3c2023-10-25 17:01:28 +080011SRCREV = "07c03173d4e6a30953f92fa88ed29b0b956c9106"
developerf0fd7052023-08-14 20:23:42 +080012PV = "git${SRCPV}"
13
14S = "${WORKDIR}/git"
15
16
17DEPENDS += "libnl-tiny libubox ubus uci"
18
19INSANE_SKIP_${PN} += "file-rdeps dev-deps dev-so"
20FILES_SOLIBSDEV = ""
21
22FILES_${PN}-dev = "${includedir}/*"
developere92ee3c2023-10-25 17:01:28 +080023FILES_${PN} = "${bindir}/* ${libdir}/libucode.so* ${libdir}/ucode/*"
developerf0fd7052023-08-14 20:23:42 +080024
25inherit cmake pkgconfig python3native
26
27
28EXTRA_OECMAKE = "\
29 -DFS_SUPPORT=ON \
30 -DMATH_SUPPORT=ON \
31 -DNL80211_SUPPORT=ON \
32 -DRESOLV_SUPPORT=ON \
33 -DRTNL_SUPPORT=ON \
34 -DSTRUCT_SUPPORT=ON \
developere92ee3c2023-10-25 17:01:28 +080035 -DUBUS_SUPPORT=ON \
developerf0fd7052023-08-14 20:23:42 +080036 -DUCI_SUPPORT=ON \
37 -DULOOP_SUPPORT=ON \
38 "
39