wok-current view jsmin/receipt @ rev 25312

updated smartmontools (7.2 -> 7.3)
author Hans-G?nter Theisgen
date Wed Jul 20 17:27:26 2022 +0100 (2022-07-20)
parents bdb702e08b62
children 5926178cd6fa
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 }