wok view jdk6-jaf/receipt @ rev 24568
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 16:37:15 2022 +0000 (2022-02-26) |
parents | c264c093ebec |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jdk6-jaf"
4 VERSION="b20"
5 CATEGORY="meta"
6 SHORT_DESC="A component of Sun's jdk6 we use to cook icedtea6 (empty package)"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="http://java.sun.com"
11 WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL"
12 COOK_OPT="!unpack !repack_src !fs"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
19 }
21 BUILD_DEPENDS="wget"
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 compile_rules()
25 {
26 mkdir -p $fs/usr
27 }