wok view jdk7-hotspot/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents af8d823a3077
children
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="https://icedtea.classpath.org"
11 TARBALL="$SOURCE.tar.bz2"
12 WGET_URL="https://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 }