wok annotate jdk6-jaf/receipt @ rev 25096

created recipe for wordgrinder
author Hans-G?nter Theisgen
date Sat Jun 18 15:13:12 2022 +0100 (2022-06-18)
parents c264c093ebec
children 73f36875e5a7
rev   line source
gokhlayeh@9223 1 # SliTaz package receipt.
gokhlayeh@9223 2
gokhlayeh@9223 3 PACKAGE="jdk6-jaf"
gokhlayeh@9223 4 VERSION="b20"
pankso@10634 5 CATEGORY="meta"
gokhlayeh@9223 6 SHORT_DESC="A component of Sun's jdk6 we use to cook icedtea6 (empty package)"
pascal@13025 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15215 8 LICENSE="GPL2"
gokhlayeh@9223 9 TARBALL="$PACKAGE-$VERSION.zip"
gokhlayeh@9223 10 WEB_SITE="http://java.sun.com"
yuripourre@18354 11 WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL"
gokhlayeh@9223 12 COOK_OPT="!unpack !repack_src !fs"
pankso@10634 13
pascal@24445 14 # What is the latest version available today?
pascal@24445 15 current_version()
pascal@24445 16 {
pascal@24445 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
pascal@24445 19 }
pascal@24445 20
pascal@15215 21 BUILD_DEPENDS="wget"
pascal@15215 22
pankso@10634 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10634 24 compile_rules()
pankso@10634 25 {
pankso@10634 26 mkdir -p $fs/usr
pankso@10634 27 }