wok-next view uglifyjs/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="uglifyjs"
4 VERSION="latest"
5 CATEGORY="utilities"
6 SHORT_DESC="JavaScript parser / mangler / compressor / beautifier library for NodeJS"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/mishoo/UglifyJS"
11 BUILD_DEPENDS="node"
13 compile_rules() {
14 npm install -g uglify-js@1 || return 1
16 cook_pick_docs $install/usr/lib/node_modules/uglify-js/README.html
17 }
19 genpkg_rules() {
20 VERSION=$(sed -n '/uglify-js@/ s|.*uglify-js@||p' $LOGS/$PACKAGE.log)
21 copy @std
22 DEPENDS="node"
23 }