wok-next annotate jsmin/receipt @ rev 20834
prosody: interesting, requires lua 5.1, and not 5.3
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:14:11 2018 +0000 (2018-06-17) |
parents | 0abbdf485a8d |
children | d5aab818505e |
rev | line source |
---|---|
al@19760 | 1 # SliTaz package receipt v2. |
al@18304 | 2 |
al@18304 | 3 PACKAGE="jsmin" |
al@19760 | 4 VERSION="1bf6ce5" |
al@18304 | 5 CATEGORY="development" |
al@18304 | 6 SHORT_DESC="JavaScript minification filter" |
al@18304 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18304 | 8 LICENSE="other" |
al@18304 | 9 WEB_SITE="https://github.com/douglascrockford/JSMin" |
al@18304 | 10 |
al@19760 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19760 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
al@18304 | 13 |
al@18304 | 14 # Rules to configure and make the package. |
al@18304 | 15 compile_rules() |
al@18304 | 16 { |
pascal@19101 | 17 make jsmin |
al@19760 | 18 |
al@19760 | 19 mkdir -p $install/usr/bin |
al@19760 | 20 cp -a $src/jsmin $install/usr/bin |
al@18304 | 21 } |
al@18304 | 22 |
al@18304 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18304 | 24 genpkg_rules() |
al@18304 | 25 { |
al@19760 | 26 copy jsmin |
al@18304 | 27 } |