wok annotate jdk7-hotspot/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 3705d68ed8f3
children 65ff25c4de90
rev   line source
yuripourre@16968 1 # SliTaz package receipt.
yuripourre@16968 2
yuripourre@16968 3 PACKAGE="jdk7-hotspot"
yuripourre@16968 4 VERSION="2.5.1"
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 SOURCE="hotspot"
yuripourre@16968 10 WEB_SITE="http://icedtea.classpath.org"
yuripourre@16968 11 TARBALL="$SOURCE.tar.bz2"
yuripourre@16968 12 WGET_URL="http://icedtea.wildebeest.org/download/drops/icedtea7/$VERSION/$TARBALL"
yuripourre@16968 13 COOK_OPT="!unpack !repack_src !fs"
yuripourre@16968 14
yuripourre@16968 15 BUILD_DEPENDS="wget"
yuripourre@16968 16
pascal@24445 17 # What is the latest version available today?
pascal@24445 18 current_version()
pascal@24445 19 {
pascal@24445 20 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24445 21 sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
pascal@24445 22 }
pascal@24445 23
yuripourre@16968 24 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16968 25 compile_rules()
yuripourre@16968 26 {
pascal@20212 27 find $src -name '*akefile*' \; | xargs sed -i 's|uname -m|echo i486|'
yuripourre@16968 28 mkdir -p $fs/usr
yuripourre@16968 29 }