summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/smarty/smarty_5.4.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/smarty/smarty_5.4.5.bb')
-rw-r--r--meta-oe/recipes-support/smarty/smarty_5.4.5.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/smarty/smarty_5.4.5.bb b/meta-oe/recipes-support/smarty/smarty_5.4.5.bb
new file mode 100644
index 0000000000..047f10589d
--- /dev/null
+++ b/meta-oe/recipes-support/smarty/smarty_5.4.5.bb
@@ -0,0 +1,37 @@
1SUMMARY = "Template engine for PHP"
2DESCRIPTION = "\
3 Smarty facilitates the separation of presentation (HTML/CSS) from \
4 application logic. This implies that PHP code is application logic, and is \
5 separated from the presentation. \
6"
7HOMEPAGE = "https://smarty-php.github.io/smarty/"
8BUGTRACKER = "https://github.com/smarty-php/smarty/issues"
9
10LICENSE = "GPL-3.0-only"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
12
13SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master;tag=v${PV}"
14
15SRCREV = "e26f82d02c4d18fc82094c28fbc65f711e39ed5d"
16
17
18INHIBIT_DEFAULT_DEPS = "1"
19
20# `make clean` removes files, they can't be rebuild with `make all`
21CLEANBROKEN = "1"
22
23do_configure[noexec] = "1"
24do_compile[noexec] = "1"
25
26do_install() {
27 install -d ${D}${datadir}/php/smarty3/libs/
28 install -m 0644 ${S}/libs/*.php ${D}${datadir}/php/smarty3/libs/
29
30 install -d ${D}${datadir}/php/smarty3/src/
31 cp -rf ${S}/src/* ${D}${datadir}/php/smarty3/src/
32}
33FILES:${PN} += "${datadir}/php/smarty3/"
34
35RDEPENDS:${PN} = "php"
36
37CVE_STATUS[CVE-2020-10375] = "cpe-incorrect: The recipe used in the meta-openembedded is a different smarty package compared to the one which has the CVE issue."