wok annotate jsmin/receipt @ rev 18955

Up firefox-official (45.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 09 00:08:53 2016 +0200 (2016-03-09)
parents
children 7392cb9148ca
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"
al@18304 13
al@18304 14 DEPENDS=""
al@18304 15 BUILD_DEPENDS=""
al@18304 16
al@18304 17 # Rules to configure and make the package.
al@18304 18 compile_rules()
al@18304 19 {
al@18304 20 gcc jsmin.c -o jsmin
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@18304 26 mkdir -p $fs/usr/bin
al@18304 27 cp -a $src/jsmin $fs/usr/bin
al@18304 28 }