meta-perinet/recipes-devtools/html-minifier/html-minifier_4.0.0.bb
Thomas Klaehn c5b617ec36 recipes-devtools: Add recipe for html minifier
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2020-08-31 07:13:35 +02:00

21 lines
409 B
BlitzBasic

SUMMARY = "Html minifier"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = " \
npm://registry.npmjs.org/;package=html-minifier;version=${PV} \
file://npm-shrinkwrap.json \
"
inherit npm
S = "${WORKDIR}/npm"
do_unpack_append () {
(cp ${WORKDIR}/npm-shrinkwrap.json ${S})
}