developer | 2a20969 | 2023-08-14 20:23:42 +0800 | [diff] [blame^] | 1 | DESCRIPTION = "Tiny scripting and templating language" |
| 2 | SECTION = "lang" |
| 3 | LICENSE_NAME = "ISC" |
| 4 | LICENSE = "${LICENSE_NAME}" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b42eb47dc3802282b0d1be1bc8f5336c" |
| 6 | |
| 7 | SRC_URI = " \ |
| 8 | git://git@github.com/jow-/ucode.git;protocol=https \ |
| 9 | file://0001-change-cmakelist.patch \ |
| 10 | " |
| 11 | |
| 12 | SRCREV = "c7d84aae09691a99ae3db427c0b2463732ef84f4" |
| 13 | PV = "git${SRCPV}" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | |
| 18 | DEPENDS += "libnl-tiny libubox ubus uci" |
| 19 | |
| 20 | INSANE_SKIP_${PN} += "file-rdeps dev-deps dev-so" |
| 21 | FILES_SOLIBSDEV = "" |
| 22 | |
| 23 | FILES_${PN}-dev = "${includedir}/*" |
| 24 | FILES_${PN} = "${bindir}/ucode ${libdir}/libucode.so* ${libdir}/ucode/*" |
| 25 | |
| 26 | inherit cmake pkgconfig python3native |
| 27 | |
| 28 | |
| 29 | EXTRA_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 | |