wok view jsmin/receipt @ rev 25674
tiptop: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 28 11:10:12 2024 +0000 (8 months ago) |
parents | 89c8d8b6cf48 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="jsmin"
4 COMMIT="1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b"
5 VERSION="20130329"
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS=""
16 BUILD_DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
22 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make jsmin
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/jsmin $fs/usr/bin
36 }