wok-next annotate 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 |
rev | line source |
---|---|
al@20851 | 1 # SliTaz package receipt v2. |
al@20851 | 2 |
al@20851 | 3 PACKAGE="uglifyjs" |
al@20851 | 4 VERSION="latest" |
al@20851 | 5 CATEGORY="utilities" |
al@20851 | 6 SHORT_DESC="JavaScript parser / mangler / compressor / beautifier library for NodeJS" |
al@20851 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20851 | 8 LICENSE="MIT" |
al@20851 | 9 WEB_SITE="https://github.com/mishoo/UglifyJS" |
al@20851 | 10 |
al@20851 | 11 BUILD_DEPENDS="node" |
al@20851 | 12 |
al@20851 | 13 compile_rules() { |
al@20851 | 14 npm install -g uglify-js@1 || return 1 |
al@20851 | 15 |
al@20851 | 16 cook_pick_docs $install/usr/lib/node_modules/uglify-js/README.html |
al@20851 | 17 } |
al@20851 | 18 |
al@20851 | 19 genpkg_rules() { |
al@20851 | 20 VERSION=$(sed -n '/uglify-js@/ s|.*uglify-js@||p' $LOGS/$PACKAGE.log) |
al@20851 | 21 copy @std |
al@20851 | 22 DEPENDS="node" |
al@20851 | 23 } |