wok view jdk7-jaf/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 3e4d8dd8e394
children 65ff25c4de90
line source
1 # SliTaz package receipt.
3 PACKAGE="jdk7-jaf"
4 VERSION="2010_08_19"
5 CATEGORY="meta"
6 SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
7 MAINTAINER="yuripourre@gmail.com"
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 BUILD_DEPENDS="wget"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 compile_rules()
25 {
26 mkdir -p $fs/usr
27 }