wok-next diff uglifyjs/receipt @ rev 20979
Build vifm
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:38:02 2018 +0300 (2018-09-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/uglifyjs/receipt Thu Sep 27 01:38:02 2018 +0300 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 +}