wok view jdk7-hotspot/receipt @ rev 24974

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