wok annotate jdk7-jaf/receipt @ rev 24990

idesk: imlib2 >= 1.7.5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 13 20:03:04 2022 +0000 (2022-05-13)
parents 3e4d8dd8e394
children 65ff25c4de90
rev   line source
yuripourre@16968 1 # SliTaz package receipt.
yuripourre@16968 2
yuripourre@16968 3 PACKAGE="jdk7-jaf"
yuripourre@16968 4 VERSION="2010_08_19"
yuripourre@16968 5 CATEGORY="meta"
yuripourre@16968 6 SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
yuripourre@16968 7 MAINTAINER="yuripourre@gmail.com"
yuripourre@16968 8 LICENSE="GPL2"
yuripourre@16968 9 TARBALL="$PACKAGE-$VERSION.zip"
yuripourre@16968 10 WEB_SITE="http://java.sun.com"
yuripourre@16968 11 WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL"
yuripourre@16968 12 COOK_OPT="!unpack !repack_src !fs"
yuripourre@16968 13
yuripourre@16968 14 BUILD_DEPENDS="wget"
yuripourre@16968 15
pascal@24445 16 # What is the latest version available today?
pascal@24445 17 current_version()
pascal@24445 18 {
pascal@24445 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
pascal@24445 21 }
pascal@24445 22
yuripourre@16968 23 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16968 24 compile_rules()
yuripourre@16968 25 {
yuripourre@16968 26 mkdir -p $fs/usr
yuripourre@16968 27 }