diff options
Diffstat (limited to 'meta-oe/recipes-support/smarty/smarty_5.8.0.bb')
| -rw-r--r-- | meta-oe/recipes-support/smarty/smarty_5.8.0.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/smarty/smarty_5.8.0.bb b/meta-oe/recipes-support/smarty/smarty_5.8.0.bb new file mode 100644 index 0000000000..89fe828ab5 --- /dev/null +++ b/meta-oe/recipes-support/smarty/smarty_5.8.0.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | SUMMARY = "Template engine for PHP" | ||
| 2 | DESCRIPTION = "\ | ||
| 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 | " | ||
| 7 | HOMEPAGE = "https://smarty-php.github.io/smarty/" | ||
| 8 | BUGTRACKER = "https://github.com/smarty-php/smarty/issues" | ||
| 9 | |||
| 10 | LICENSE = "GPL-3.0-only" | ||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3" | ||
| 12 | |||
| 13 | SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master;tag=v${PV}" | ||
| 14 | |||
| 15 | SRCREV = "78d259d3b971c59a0cd719c270cc5cbb740c36a7" | ||
| 16 | |||
| 17 | |||
| 18 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 19 | |||
| 20 | # `make clean` removes files, they can't be rebuild with `make all` | ||
| 21 | CLEANBROKEN = "1" | ||
| 22 | |||
| 23 | do_configure[noexec] = "1" | ||
| 24 | do_compile[noexec] = "1" | ||
| 25 | |||
| 26 | do_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 | } | ||
| 33 | FILES:${PN} += "${datadir}/php/smarty3/" | ||
| 34 | |||
| 35 | RDEPENDS:${PN} = "php" | ||
| 36 | |||
| 37 | CVE_PRODUCT = "smarty:smarty smarty-php:smarty" | ||
