wok-next diff uglifyjs/receipt @ rev 21687

updated glpi (0.80.7 -> 9.4.6)
author Hans-G?nter Theisgen
date Mon Jun 29 17:11:21 2020 +0100 (2020-06-29)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/uglifyjs/receipt	Mon Jun 29 17:11:21 2020 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="uglifyjs"
     1.7 +VERSION="latest"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="JavaScript parser / mangler / compressor / beautifier library for NodeJS"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/mishoo/UglifyJS"
    1.13 +
    1.14 +BUILD_DEPENDS="node"
    1.15 +
    1.16 +compile_rules() {
    1.17 +	npm install -g uglify-js@1 || return 1
    1.18 +
    1.19 +	cook_pick_docs $install/usr/lib/node_modules/uglify-js/README.html
    1.20 +}
    1.21 +
    1.22 +genpkg_rules() {
    1.23 +	VERSION=$(sed -n '/uglify-js@/ s|.*uglify-js@||p' $LOGS/$PACKAGE.log)
    1.24 +	copy @std
    1.25 +	DEPENDS="node"
    1.26 +}