mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 23:02:33 +00:00
smarty: Add recipe
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
437513e8ee
commit
e06935c6c1
25
meta-oe/recipes-support/smarty/smarty_3.1.39.bb
Normal file
25
meta-oe/recipes-support/smarty/smarty_3.1.39.bb
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
DESCRIPTION = "the compiling PHP template engine"
|
||||||
|
SECTION = "console/network"
|
||||||
|
HOMEPAGE = "https://www.smarty.net/"
|
||||||
|
|
||||||
|
LICENSE = "GPLv3"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
|
||||||
|
|
||||||
|
DEPENDS = "php"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;tag=v${PV}"
|
||||||
|
|
||||||
|
FILES:${PN} = "${datadir}/php/smarty3/"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
install -d ${D}${datadir}/php/smarty3/libs/
|
||||||
|
install -m 0644 ${S}/libs/*.php ${D}${datadir}/php/smarty3/libs/
|
||||||
|
|
||||||
|
install -d ${D}${datadir}/php/smarty3/libs/plugins
|
||||||
|
install -m 0644 ${S}/libs/plugins/*.php ${D}${datadir}/php/smarty3/libs/plugins/
|
||||||
|
|
||||||
|
install -d ${D}${datadir}/php/smarty3/libs/sysplugins
|
||||||
|
install -m 0644 ${S}/libs/sysplugins/*.php ${D}${datadir}/php/smarty3/libs/sysplugins/
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user