wok-6.x view openjdk-7-src/receipt @ rev 25465

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 08:33:11 2022 +0000 (2022-10-01)
parents d7522d21c4d3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="openjdk-7-src"
4 VERSION="b147-27_jun_2011"
5 CATEGORY="meta"
6 SHORT_DESC="OpenJDK 7 we use to cook icedtea7 (empty package)"
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL2"
9 SOURCE="openjdk-7-fcs-src"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="https://java.sun.com"
12 WGET_URL="https://download.java.net/openjdk/jdk7/promoted/${VERSION%-*}/$TARBALL"
13 COOK_OPT="!unpack !repack_src !fs"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - http://hg.openjdk.java.net/jdk7/jdk7/tags 2>/dev/null | \
19 sed '/jdk7-/!d;s|jdk7-||;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 compile_rules()
24 {
25 find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|'
26 mkdir -p $fs/usr
27 }