wok-current view jsmin/receipt @ rev 18374

Add hash-slinger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 16 22:29:25 2015 +0200 (2015-09-16)
parents
children 7392cb9148ca
line source
1 # SliTaz package receipt.
3 PACKAGE="jsmin"
4 COMMIT="1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b"
5 VERSION="${COMMIT:0:10}"
6 CATEGORY="development"
7 SHORT_DESC="JavaScript minification filter"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="other"
10 WEB_SITE="https://github.com/douglascrockford/JSMin"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 gcc jsmin.c -o jsmin
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/jsmin $fs/usr/bin
28 }