wok-6.x annotate jsmin/receipt @ rev 24659
updated icinga (1.2.1 -> 1.14.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 09:30:17 2022 +0100 (2022-03-11) |
parents | bdb702e08b62 |
children |
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" |
pascal@19098 | 13 HOST_ARCH="i486 arm" |
al@18304 | 14 |
al@18304 | 15 DEPENDS="" |
al@18304 | 16 BUILD_DEPENDS="" |
al@18304 | 17 |
pascal@24476 | 18 # What is the latest version available today? |
pascal@24476 | 19 current_version() |
pascal@24476 | 20 { |
pascal@24476 | 21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \ |
pascal@24476 | 22 sed '/commits_list_item/!d;s|.*commits/\(..........\).*|\1|;q' |
pascal@24476 | 23 } |
pascal@24476 | 24 |
al@18304 | 25 # Rules to configure and make the package. |
al@18304 | 26 compile_rules() |
al@18304 | 27 { |
pascal@19101 | 28 make jsmin |
al@18304 | 29 } |
al@18304 | 30 |
al@18304 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18304 | 32 genpkg_rules() |
al@18304 | 33 { |
al@18304 | 34 mkdir -p $fs/usr/bin |
al@18304 | 35 cp -a $src/jsmin $fs/usr/bin |
al@18304 | 36 } |