wok view jsmin/receipt @ rev 25003

updated nspr and nspr-dev (4.25 -> 4.33)
author Hans-G?nter Theisgen
date Mon May 16 14:53:05 2022 +0100 (2022-05-16)
parents bdb702e08b62
children a66f312c374b
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"
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 '/commits_list_item/!d;s|.*commits/\(..........\).*|\1|;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 }