mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
829 B
BlitzBasic
26 lines
829 B
BlitzBasic
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};branch=master"
|
|
|
|
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/
|
|
}
|