wok-6.x annotate jsmin/receipt @ rev 20833
Add purple-facebook
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Feb 19 13:08:30 2019 -0500 (2019-02-19) |
parents | 7392cb9148ca |
children | 89c8d8b6cf48 |
rev | line source |
---|---|
al@18304 | 1 # SliTaz package receipt. |
al@18304 | 2 |
al@18304 | 3 PACKAGE="jsmin" |
al@18304 | 4 COMMIT="1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b" |
al@18304 | 5 VERSION="${COMMIT:0:10}" |
al@18304 | 6 CATEGORY="development" |
al@18304 | 7 SHORT_DESC="JavaScript minification filter" |
al@18304 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@18304 | 9 LICENSE="other" |
al@18304 | 10 WEB_SITE="https://github.com/douglascrockford/JSMin" |
al@18304 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18304 | 12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" |
pascal@19098 | 13 HOST_ARCH="i486 arm" |
al@18304 | 14 |
al@18304 | 15 DEPENDS="" |
al@18304 | 16 BUILD_DEPENDS="" |
al@18304 | 17 |
al@18304 | 18 # Rules to configure and make the package. |
al@18304 | 19 compile_rules() |
al@18304 | 20 { |
pascal@19101 | 21 make jsmin |
al@18304 | 22 } |
al@18304 | 23 |
al@18304 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18304 | 25 genpkg_rules() |
al@18304 | 26 { |
al@18304 | 27 mkdir -p $fs/usr/bin |
al@18304 | 28 cp -a $src/jsmin $fs/usr/bin |
al@18304 | 29 } |